Hi, > Von: Albrecht Dreß <[email protected]> > An: [email protected]
> > As the gcc in 4.2 is rather old, I installed eldk 5.1.1 as being > documented on the web page, and tried to compile the kernel. The > newer gcc now *does* compile the files which threw errors with 4.2 > without warnings or errors, but ejects with a linker error: > > <snip> > CC init/main.o > CHK include/generated/compile.h > UPD include/generated/compile.h > CC init/version.o > CC init/do_mounts.o > LD init/mounts.o > powerpc-linux-ld: unrecognized option '-Wl,-O1' > powerpc-linux-ld: use the --help option for usage information > </snip> > > As compiling 3.2.55 fails with the same messages, I guess I missed > something essential when installing the eldk, but unfortunately I > cannot find the reason... Any enlightenment would be really appreciated! > Try 'unset LDFLAGS'. This helps at least when compiling u-boot. Regards, Daniel.
_______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
