This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot find crti.o: No such file or directory


On 02/06/2013 07:09 PM, Mahmood Naderan wrote:

When I want to make gcc 4.1.2 on my ubuntu 12.04 (x86_64), I get this error
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: ld returned 1 exit status

Ubuntu's multi-arch is not backwards-compatible. You have to get a patched version of GCC 4.1 (not sure if this is available), or you can try to play with environment variables, as explained here:


<http://gcc.gnu.org/ml/gcc/2012-02/msg00314.html>

Hope this helps.

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]