This is the mail archive of the
mailing list for the GCC project.
Re: GNAT problem - ld @/tmp/cc2IfUhy: No such file: No such file or directory
I was using binutils 2.15.92 and GCC 4.7.2
I tried again with binutils 2.23.1 and all seems to work out fine!!
Thanks for the help!
On 12/18/12, Florian Weimer <email@example.com> wrote:
> On 12/18/2012 04:09 PM, Patrick Herbst wrote:
>> I'm running into a problem compiling an Ada program with GCC 4.7.2
>> gnatmake -m32 -gnat95 ./application.adb -largs -L/usr/X11R6/lib -lXt
>> -lX11 -lSM -lICE -lXmu -lXext -lXpm -lm ./libsqlite3.a
>> gnatbind --RTS=32 -x application.ali
>> gnatlink application.ali -m32 -L/usr/X11R6/lib -lXt -lX11 -lSM -lICE
>> -lXmu -lXext -lXpm -lm ./libsqlite3.a
>> /usr/bin/ld: @/tmp/cc2IfUhy: No such file: No such file or directory
>> collect2: error: ld returned 1 exit status
>> gnatlink: error when calling /opt/gnat-4.7.2/bin/gcc
>> gnatmake: *** link failed.
>> This seems fairly random. if i strip down the application a bit it
>> works... if i start adding back it starts to fail.
> Does your ld support @-based indirection for reading arguments from a
> file? What's your binutils version?
> Florian Weimer / Red Hat Product Security Team