Results 1 to 1 of 1
Hello all,
I'm trying to compile gcc 2.7.2.3 and binutils 2.9 on a rather modern system, which currently has gcc 4 installed. I'm trying to follow this guide:
[Link removed ...
- 06-05-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 1
Compiling old gcc and binutils, need help/advice
Hello all,
I'm trying to compile gcc 2.7.2.3 and binutils 2.9 on a rather modern system, which currently has gcc 4 installed. I'm trying to follow this guide:
[Link removed b/c of post count. Its a guide to setting up a dev-environment for bflt files. Search blft beyond logic on google if you want to find it]
in order to be able to compile a bflt executable on my computer. However, I cannot seem to complete the compile. I get these errors:
right before it exits.Code:strerror.c:460:12: error: static declaration of ‘sys_nerr’ follows non-static declaration /usr/include/bits/sys_errlist.h:27:12: note: previous declaration of ‘sys_nerr’ was here strerror.c:461:21: error: conflicting types for ‘sys_errlist’ /usr/include/bits/sys_errlist.h:28:30: note: previous declaration of ‘sys_errlist’ was here make[2]: *** [strerror.o] Error 1 make[2]: Leaving directory `/home/patrick/bflt/uclinuxgcc-kit-160899/binutils-2.9.1.kernel/libiberty' make[1]: *** [all-libiberty] Error 2 make[1]: Leaving directory `/home/patrick/bflt/uclinuxgcc-kit-160899/binutils-2.9.1.kernel' make: *** [/opt/uClinux/bin/m68k-coff-as] Error 2
Is there anything I can do? Or should I install an older version of Linux (in a Virtual machine), and try again in there?
Either way, I'd appreciate any advice you guys have. Thanks!!


Reply With Quote
