From: dan.r.mcleran@seagate.com (Dan McLeran)
Subject: Re: glade-2: Error when generating source files
Date: 14 Jul 2004 06:01:08 -0700
Date: 2004-07-14T06:01:08-07:00 [thread overview]
Message-ID: <19b0e504.0407140501.2288527f@posting.google.com> (raw)
In-Reply-To: ccuujd$5ih$00$1@news.t-online.com
> Calling gate directly works. It seems that a temporary file all.ada
> is generated first, and this file is then gnatchopped into single
> compilation units.
>
> But now, when gnatmaking the program with the generated files,
> I get the message
>
> ld: unrecognized option 'C:\PROGRA~1\Ada\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a
>
> Franz
It sounds like you are passing gnatmake an -ld and it doesn't know
what that means. I think you need to pass it -l with the path to
libgnat.a appended. By the way, I would recommend having any libs you
need to link reside on your file system where the path doesn't contain
a space (i.e. it looks like you have your gnat stuff installed under
Program Files. Gnatmake may not like to deal with a space in between
'Program' and 'Files'.
prev parent reply other threads:[~2004-07-14 13:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-10 12:56 glade-2: Error when generating source files Franz Kruse
2004-07-10 19:33 ` Georg Bauhaus
2004-07-10 20:13 ` Franz Kruse
2004-07-11 13:56 ` Dan McLeran
2004-07-12 21:08 ` Franz Kruse
2004-07-14 13:01 ` Dan McLeran [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