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-Thread: 103376,2bca44dca92606cc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!news.osn.de!diablo2.news.osn.de!ecngs!feeder.ecngs.de!130.59.10.21.MISMATCH!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Problem with Jewl on GPS and AdaGide Date: Fri, 01 Feb 2008 08:32:44 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <47a2cb1c$1@news.post.ch> References: <6e11aefa-7fb1-4df0-9c71-611da6c84466@l1g2000hsa.googlegroups.com> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1201851169 15680 194.41.146.1 (1 Feb 2008 07:32:49 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Fri, 1 Feb 2008 07:32:49 +0000 (UTC) User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Original-NNTP-Posting-Host: w03duo.pnet.ch X-Original-Trace: 1 Feb 2008 08:32:44 +0100, w03duo.pnet.ch Xref: g2news1.google.com comp.lang.ada:19671 Date: 2008-02-01T08:32:44+01:00 List-Id: 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