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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: is getting OpenGL to work with Ada a lost cause? Date: Mon, 04 Aug 2014 21:14:27 +0200 Organization: A noiseless patient Spider Message-ID: References: <64ff459f-98c0-4fab-bcdd-d9fafe3311e6@googlegroups.com> <1lvqvd5q7gxl0.1ezs9o63cnam4$.dlg@40tude.net> <156abd9c-9600-437f-b7de-85bfe434a26b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 4 Aug 2014 19:13:48 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="da5931164b82184ab91e59f6354a4f3d"; logging-data="2362"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/E2Bn4Nu2D077ZG5JcgkLy" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0 In-Reply-To: Cancel-Lock: sha1:cnBL6hT1Fwcn7n/T6Wu2ibCe66k= Xref: number.nntp.dca.giganews.com comp.lang.ada:188151 Date: 2014-08-04T21:14:27+02:00 List-Id: On 2014-08-04 14:52, Dmitry A. Kazakov wrote: > On Sun, 3 Aug 2014 05:40:14 -0700 (PDT), jsquirek@gmail.com wrote: > One minor note is though. If I correctly remember, you can link to Windows > DLLs (and import libraries *.lib) using the switch -l. E.g. "-lkernel32" > instead of "c:/windows/system32/kernel32.dll" (The "lib" prefix is not > added) > And if the dll is not in the path you can add it to the linker path with -L, as in -L/c:/someplace/with/many/dlls -lmylib1 -lmylib2 where mylib1.dll and mylib2.dll resides in c:\someplace\with\many\dlls and that path is not in %PATH% -- /Björn