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: GNAT problem - ld @/tmp/cc2IfUhy: No such file: No such file or directory


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


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