[PATCH] Cross compile?

Lombard, David N dnlombar at ichips.intel.com
Wed May 7 11:09:32 EDT 2008


On Wed, May 07, 2008 at 08:42:22AM +1000, Jeremy Kerr wrote:
> Hi David,
> 
> > Well, note the patch *does* uses those values--it's just the
> > assignment doesn't work.
> 
> Let's fix the assignment then - it's been working fine here (build = 
> i386-linux, host = powerpc-linux, target = powerpc64-linux), so I'd 
> like to know what's breaking on your system.
> 
> What are you using for CC, BUILD_CC and LDFLAGS?

  # Compiler for building kexec
  CC              = uclibc-gcc
  CPP             = uclibc-gcc -E
  LD              = ld
  AS              = as
  OBJCOPY         = objcopy
  AR              = ar

  # C compiler for binaries to run during the build
  BUILD_CC        = host-gcc
  BUILD_CFLAGS    = -O2 -Wall
  TARGET_CC       = uclibc-gcc
  TARGET_CFLAGS   = -O2 -Wall

-- 
David N. Lombard, Intel, Irvine, CA
I do not speak for Intel Corporation; all comments are strictly my own.



More information about the kexec mailing list