From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6299393aa51fdbf3 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Jano Newsgroups: comp.lang.ada Subject: Re: set programm icon Date: Tue, 15 Jun 2004 11:11:25 +0200 Message-ID: <2j7spuFubm8rU1@uni-berlin.de> References: <2j6500Fu5ef7U1@uni-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de yjA7ehpxvkDeWszDlQ90yA2RgrRDD/i0J1wogzI+9h86wx8fk= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: es-es, es, en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:1495 Date: 2004-06-15T11:11:25+02:00 List-Id: 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 --- 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.