public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Cross-compiling U-Boot on Mac OS X -- can't find crc32.c?
@ 2009-05-01 23:30 Timur Tabi
  2009-05-02  0:10 ` Jean-Christophe PLAGNIOL-VILLARD
  2009-05-02  5:49 ` Wolfgang Denk
  0 siblings, 2 replies; 13+ messages in thread
From: Timur Tabi @ 2009-05-01 23:30 UTC (permalink / raw)
  To: u-boot

I'm trying to cross-compile U-Boot on a Mac OS X system, which is
BSD-like.  I have a toolchain already created - I've been able to
compile the Linux kernel with no problems.  I figured U-Boot would be
easier, but instead it's doing a lot of weird stuff.

So when I run "make", I get this:

$ make ARCH=ppc
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: Nothing to be done for `_depend'.
make[1]: Circular hello_world.c <- hello_world.c dependency dropped.
make[1]: Circular sched.c <- sched.c dependency dropped.
make[1]: Circular stubs.c <- stubs.c dependency dropped.
make[1]: Circular ppc_longjmp.S <- ppc_longjmp.S dependency dropped.
make[1]: Circular ppc_setjmp.S <- ppc_setjmp.S dependency dropped.
make[1]: Nothing to be done for `_depend'.
make[1]: Nothing to be done for `_depend'.
make -C tools all
cc -Wall -pedantic -idirafter
/Volumes/Goliath/Users/timur/dev/u-boot.git/include -idirafter
/Volumes/Goliath/Users/timur/dev/u-boot.git/include2 -idirafter
/Volumes/Goliath/Users/timur/dev/u-boot.git/include -I
/Volumes/Goliath/Users/timur/dev/u-boot.git/libfdt -I
/Volumes/Goliath/Users/timur/dev/u-boot.git/tools
-DTEXT_BASE=0xFE000000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o
crc32.o crc32.c
powerpc-apple-darwin9-gcc-4.0.1: crc32.c: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: no input files
make[1]: *** [crc32.o] Error 1
make: *** [tools] Error 2

crc32.c is in lib_generic/, but the current directory is tools/, so
I'm not surprised it doesn't compile.  Has anyone tried this before?
What am I missing?

-- 
Timur Tabi
Linux kernel developer@Freescale

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-05-30  0:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01 23:30 [U-Boot] Cross-compiling U-Boot on Mac OS X -- can't find crc32.c? Timur Tabi
2009-05-02  0:10 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-04 13:27   ` Timur Tabi
2009-05-05  0:47     ` Mike Frysinger
2009-05-05 15:33       ` Timur Tabi
2009-05-20  1:38   ` Timur Tabi
2009-05-20  5:31     ` Wolfgang Denk
2009-05-20 14:33       ` Timur Tabi
2009-05-20 14:41         ` Jerry Van Baren
2009-05-20 14:52           ` Timur Tabi
2009-05-30  0:23             ` Mike Frysinger
2009-05-02  5:49 ` Wolfgang Denk
2009-05-02 23:02   ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox