[Buildroot] buildroot with ELDK 4.1

Peter Korsgaard jacmet at uclibc.org
Fri Jul 3 05:32:27 UTC 2009


>>>>> "Wenwei" == Wenwei Zha <wenweizha at gmail.com> writes:

 Wenwei> Hi,
 Wenwei> I just started to learn using buildroot to build a root file system. I
 Wenwei> would like to use ELDK 4.1 as my toolchain but has some problem.

 Wenwei> make[1]: Entering directory
 Wenwei> `/home/wenwei/temp/temp/buildroot-2009.05/project_build_powerpc/linux_26_ml410/busybox-1.14.1'
 Wenwei>  SPLIT   include/autoconf.h -> include/config/*
 Wenwei>  GEN     include/bbconfigopts.h
 Wenwei>  HOSTCC  applets/usage
 Wenwei> applets/usage.c: In function ‘main’:
 Wenwei> applets/usage.c:32: warning: ignoring return value of ‘write’,
 Wenwei> declared with attribute warn_unused_result
 Wenwei>  GEN     include/usage_compressed.h
 Wenwei>  HOSTCC  applets/applet_tables
 Wenwei>  GEN     include/applet_tables.h
 Wenwei>  CC      applets/applets.o
 Wenwei> cc1: error: unrecognized command line option "-fsysroot"

That won't work - Your toolchain has to support sysroot (gcc 4.2 or
newer). As far as I can see on google, ELDK 4.1 used 4.0.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list