comp.lang.ada
 help / color / mirror / Atom feed
From: Jano <notelacreas@porfavor.no>
Subject: Re: set programm icon
Date: Tue, 15 Jun 2004 11:11:25 +0200
Date: 2004-06-15T11:11:25+02:00	[thread overview]
Message-ID: <2j7spuFubm8rU1@uni-berlin.de> (raw)
In-Reply-To: <cakr9h$1ds$06$1@news.t-online.com>

Tanker wrote:
> It works as far as the *.o file is created. I tried it with the wglink.exe
> but the gnat compiler tells me, that he cant find the wglink.exe! (gnatmake
> xfile.adb --GNATLINK=wglink.exe <enter>  --- in the directory where the file
> to bind is)
> 
> how can I only include the *.o file in my source code? Do I have to use the
> command:
> pragma linker_options("icon.o");
> 
> I tried it, but the result isn't what i want it to be: the programicon is
> still the standard icon.

I've done it without special tools... wait a minute while I look for a 
makefile I have somewhere...

Ok... it seems I simply add to the gnatmake the obj as a linker argument:

gnatmake whatever.adb -o whatever.exe -largs path/to/obj/icon.o

However the pragma linker_options should give the same result... :/

Hope this helps.



  parent reply	other threads:[~2004-06-15  9:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14 16:22 set programm icon Tanker
2004-06-14 17:18 ` Jano
2004-06-14 18:17   ` Tanker
2004-06-14 18:18   ` tmoran
2004-06-14 18:42   ` Tanker
2004-06-14 19:34     ` tmoran
2004-06-15  9:11     ` Jano [this message]
2004-06-15 16:23       ` Tanker
2004-06-15 19:34         ` Bernd Specht
2004-06-15 21:22     ` Pascal Obry
replies disabled

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