From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,353c154fa8d4051 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Daniel W" Newsgroups: comp.lang.ada References: <41a7735d@news.wineasy.se> <41a79eaa$0$9304$ba620e4c@news.skynet.be> Subject: Re: Problem with GNAT linking X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: sth-2-nat-212.116.78.13-lottingelund-cpe.globecom.net X-Original-NNTP-Posting-Host: sth-2-nat-212.116.78.13-lottingelund-cpe.globecom.net Message-ID: <41a7a31c@news.wineasy.se> Date: 26 Nov 2004 22:41:48 +0100 X-Trace: wineasy!newsfeed.wineasy.se!news.wineasy.se!news.songnetworks.se 1101505308 212.116.78.13 (26 Nov 2004 22:41:48 +0100) X-Complaints-To: abuse@songnetworks.se Path: g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!bofh.vszbr.cz!news.radio.cz!213.131.157.171!wineasy!newsfeed.wineasy.se!news.wineasy.se!news.songnetworks.se!not-for-mail Xref: g2news1.google.com comp.lang.ada:6527 Date: 2004-11-26T22:41:48+01:00 List-Id: Will this work? Yessss, Glorious! Thanks soooooo much!! "Adrien Plisson" wrote in message news:41a79eaa$0$9304$ba620e4c@news.skynet.be... > Daniel W wrote: >> ld -o text_io_example.exe >> C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\crt2.o -L./ -Lc:\GNAT\Bindings\Win32Ada\ >> -LC:\GNAT\lib\win32\ -LC:\Program > > look here --------------------------^ > >> Files\XMLBooster\ada" -LC:\GNAT\lib\gcc-lib\pentiummingw32msv\2.8.1\adalib\ >> C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a -Wl,--stack=0x2000000 >> -LC:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1 -LC:\GNAT\lib -LC:\GNAT\lib >> b~text_io_example.o >> ./text_io_example.o -lmingw32 -lgcc -lmoldname -lmsvcrt -lkernel32 -ladvapi32 >> -lshell32 -lmingw32 -lgcc -lmoldname -lmsvcrt >> ld: unrecognized option > > GNAT does not like long file names with spaces. 2 solutions: > - find a way to specify a shot path, eg. C:\Progra~1\XMLBoo~1\ada, > - find a way to specify arguments with double quotes, although i'm not > sure GNAT will like this. > > -- > rien >