comp.lang.ada
 help / color / mirror / Atom feed
From: "Daniel W" <dawe@syntell.se>
Subject: Re: Problem with GNAT linking
Date: 26 Nov 2004 22:41:48 +0100
Date: 2004-11-26T22:41:48+01:00	[thread overview]
Message-ID: <41a7a31c@news.wineasy.se> (raw)
In-Reply-To: 41a79eaa$0$9304$ba620e4c@news.skynet.be

Will this work? Yessss, Glorious! Thanks soooooo much!!
"Adrien Plisson" <aplisson-news@stochastique.net> 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
> 





      reply	other threads:[~2004-11-26 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-26 18:18 Problem with GNAT linking Daniel W
2004-11-26 21:24 ` Adrien Plisson
2004-11-26 21:41   ` Daniel W [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox