comp.lang.ada
 help / color / mirror / Atom feed
From: "Franz Kruse" <Franz.Kruse@t-online.de>
Subject: Re: glade-2: Error when generating source files
Date: Mon, 12 Jul 2004 23:08:01 +0200
Date: 2004-07-12T23:08:01+02:00	[thread overview]
Message-ID: <ccuujd$5ih$00$1@news.t-online.com> (raw)
In-Reply-To: 19b0e504.0407110556.19544736@posting.google.com

Dan McLeran:

> >    all.ada:1:01: compilation unit expected
> >    all.ada: parse errors detected
> >    all.ada: chop may not be successful
> >    no compilation units found
> >    no source files written
> > 
> > Does anybody have an idea what might be wrong? Until recently,
> > I was able to generate source files without problems. Reinstalling
> > GtkAda, GNAT and GTK+ didn't help.
> I have seen this before. I don't remember exactly what was wrong but
> you can try invoking gate (the program that generates your code)
> manually. From a command window, change directories to where your
> project.glade file resides. Then you can invoke gate manually like
> this:
> 
> c:\MyGladeProjectFolder\>gate project.glade
> ...

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




  reply	other threads:[~2004-07-12 21:08 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 [this message]
2004-07-14 13:01     ` Dan McLeran
replies disabled

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