X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <000b01c1956c$2bd572e0$e24a183e@i226> From: "Kredba" To: References: <20020104 DOT 134346 DOT -169285 DOT 0 DOT the_juggernaut AT juno DOT com> Subject: Re: grx Date: Fri, 4 Jan 2002 23:06:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Reply-To: djgpp AT delorie DOT com Add the -L switch to gcc. It tells to ld where to find the grx library. gcc -O2 foo.c -o foo.exe -Lc:/path/to/lib -lgrx20 or try to use -lgrx20 instead of -libgrx20. David ----- Original Message ----- From: To: Sent: Friday, January 04, 2002 8:43 PM Subject: Re: grx > > > Remember to add the "-lgrx20" switch to your gcc compile line > > The test programs now work and everything seems to be compatible with my > hardware. I still cannot get the hello example to link, however. With > the "-lgrx20" switch, there's still the same "undefined reference to:" > errors. So I tried "-libgrx20" and the undefined reference errors > disappeared. But now I have these errors: > > Error: c:/djgpp/bin/ld.exe: cannot find -libgrx20 > Error: collect2: ld returned 1 exit status > > The first one is new, the second one was there before. Where does it say > to use that switch? > > Thanks, > Jon K > ________________________________________________________________ > GET INTERNET ACCESS FROM JUNO! > Juno offers FREE or PREMIUM Internet access for less! > Join Juno today! For your FREE software, visit: > http://dl.www.juno.com/get/web/.