You are not logged in.

#1 2012-05-24 22:00:09

ict
Member
Registered: 2007-05-01
Posts: 44

Problems compiling gcc44 or gcc45

Hi,

I'm trying to compile an older gcc for a project that needs it. I tried gcc44 and gcc45 from the AUR. Both error out after about a minute with the same error

checking for x86_64-unknown-linux-gnu-gcc... /tmp/gcc45/src/./gcc/xgcc -B/tmp/gcc45/src/./gcc/ -B/usr/x86_64-unknown-linux-gnu/bin/ -B/usr/x86_64-unknown-linux-gnu/lib/ -isystem /usr/x86_64-unknown-linux-gnu/include -isystem /usr/x86_64-unknown-linux-gnu/sys-include   
checking for suffix of object files... configure: error: in `/tmp/gcc45/src/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

If tried some thing that people in other forums suggested (setting LD_LIBRARY_PATH to the path of libgmp) but nothing worked. Any advice?

Thanks

Offline

#2 2012-05-24 22:17:23

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: Problems compiling gcc44 or gcc45

try building outside of /tmp


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#3 2012-05-24 22:24:51

ict
Member
Registered: 2007-05-01
Posts: 44

Re: Problems compiling gcc44 or gcc45

Unfortunately no, same error in my home.

Offline

#4 2012-05-25 07:01:42

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: Problems compiling gcc44 or gcc45

and try to compile 46 using 47 and 45 using 46 ans so son???


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

Board footer

Powered by FluxBB