Aw: Re: compile gcc 4.7.2 Ubuntu 12.04 fails with GCC_NO_EXECUTABLES
Thu Mar 7 21:12:00 GMT 2013
7.3.2013 22:55, Kai Ruottu kirjoitti:
> 7.3.2013 22:19, firstname.lastname@example.org kirjoitti:
>> /usr/bin/ld: cannot find crt1.o: No such file or directory
>> /usr/bin/ld: cannot find crti.o: No such file or directory
> The previous seems to be the problem... Basically the Ubuntu's custom
> ld should know where these startups are, in '/usr/lib/x86_64-linux-gnu'
> I think. Please check where they really are in your system...
> If the command 'ld -verbose' (used with '| less') doesn't show the
> where they are in the 'SEARCH_DIR' or something in the output
> beginning, then
> something is broken :-(
> Searching with Google for "building GCC for Ubuntu" may tell what are the
> problems and workarounds, Ubuntu isn't a "standard" Linux but somehow
OK, in :
there were instructions to set in environment (in your case) :
before 'configure' and 'make' and make a symlink :
sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
before 'make install'
More information about the Gcc-help