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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,353c154fa8d4051 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!feed1.news.be.easynet.net!ossa.telenet-ops.be!skynet.be!newspost001!tjb!not-for-mail Date: Fri, 26 Nov 2004 22:24:51 +0100 From: Adrien Plisson Reply-To: aplisson-news@stochastique.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problem with GNAT linking References: <41a7735d@news.wineasy.se> In-Reply-To: <41a7735d@news.wineasy.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <41a79eaa$0$9304$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 9da33cc3.news.skynet.be X-Trace: 1101504170 news.skynet.be 9304 81.241.123.195:10425 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:6526 Date: 2004-11-26T22:24:51+01:00 List-Id: 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