comp.lang.ada
 help / color / mirror / Atom feed
From: Adrien Plisson <aplisson-news@stochastique.net>
Subject: Re: Problem with GNAT linking
Date: Fri, 26 Nov 2004 22:24:51 +0100
Date: 2004-11-26T22:24:51+01:00	[thread overview]
Message-ID: <41a79eaa$0$9304$ba620e4c@news.skynet.be> (raw)
In-Reply-To: <41a7735d@news.wineasy.se>

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:24 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 [this message]
2004-11-26 21:41   ` Daniel W
replies disabled

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