comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Problem with Jewl on GPS and AdaGide
Date: Fri, 01 Feb 2008 08:32:44 +0100
Date: 2008-02-01T08:32:44+01:00	[thread overview]
Message-ID: <47a2cb1c$1@news.post.ch> (raw)
In-Reply-To: <tytoj.10209$9j6.944@attbi_s22>

Jeffrey R. Carter schrieb:
> Stoik wrote:
>> I am looking for someone to help me with JEWL in Windows environment
>> (Windows XP). I have installed academic version of GPS (2007-2) and
>> win32ada from the same source. Nevertheless, the linker is reporting:
>> ld.exe: cannot find -luser32 -lgdi32 -lcomdlg32 -lwinmm (from ld.exe).
>> What is the solution? Are there special switches or pragmas I should
>> use?
> 
> I have found that you have to replace those names in the source with the 
> full paths and names of the libraries installed by win32ada. Maybe 
> there's a better way, but that works.

yes the "-Wl,--library-path=", "-Wl,-rpath=" and "-Wl,-rpath-link=" 
options. They must appear before the -l (which is the short form of 
"-Wl,--library=") option.

Martin

-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



  reply	other threads:[~2008-02-01  7:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 15:25 Problem with Jewl on GPS and AdaGide Stoik
2008-02-01  0:17 ` Jeffrey R. Carter
2008-02-01  7:32   ` Martin Krischik [this message]
2008-02-01 21:05 ` John McCormick
2008-02-01 21:15   ` John McCormick
replies disabled

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