[Buildroot] Updated status on the compilation of busybox on Mac OS X

Nicholas Kinar n.kinar at usask.ca
Wed Dec 2 15:57:28 UTC 2009


In buildroot, how do I set the host system for the configuration of 
gcc?  This is trivial for a command-line compile of gcc, but how would I 
do this within Buildroot, so that the appropriate options are passed to 
./configure for gcc?

Perhaps changing this would allow for gcc to more properly compile.


> Peter - you are right about this.  I modified the Buildroot .config to 
> so that BR2_ENABLE_LOCALE=no, and the build process continues on Mac 
> OS X.  However, I then encountered another error.  Apparently the gcc 
> makefile believes that the host is Linux, so host-linux.c is being 
> compiled instead of host-darwin.c.
>
> Here's the output of the most recent error:
>
>
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c: 
> In function 'linux_gt_pch_use_address':
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c:194: 
> error: ÔMAP_ANONYMOUSÕ undeclared (first use in this function)
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c:194: 
> error: (Each undeclared identifier is reported only once
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c:194: 
> error: for each function it appears in.)
> make[2]: *** [host-linux.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [all-gcc] Error 2
> make: *** 
> [/Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-initial/.compiled] 
> Error
>




More information about the buildroot mailing list