You are not logged in.

#1 2011-06-05 23:56:56

Vektorical
Member
Registered: 2011-04-16
Posts: 10

Compiling old version of GCC and Binutils

Hello everyone. I'm in search of a way to create bflt executables, and tried my best to follow this guide, but it requires compilation of a rather old version of gcc and binutils. This is what I'm getting after trying to run make.

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

It is gcc 2.7.2.3, and binutils 2.9. Is there anything I can do to make everything work nicely, or should I go the route of installing an older version of Linux in a virtual machine, then attempting this in that environment? I currently have gcc 4.6 installed. In case it matters, here is my uname -a

Linux SMNG-N150 2.6.38-ARCH #1 SMP PREEMPT Mon May 23 20:04:02 UTC 2011 i686 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux

I appreciate any advice you guys can give me!

Offline

#2 2011-06-07 11:08:18

Vektorical
Member
Registered: 2011-04-16
Posts: 10

Re: Compiling old version of GCC and Binutils

bump

Offline

Board footer

Powered by FluxBB