delorie.com/archives/browse.cgi | search |
From: | Waldemar Schultz <schultz AT ma DOT tum DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: GRX23 configuration : help needed |
Date: | Mon, 19 Jun 2000 11:51:04 +0200 |
Organization: | [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) |
Lines: | 48 |
Message-ID: | <394DED08.59134DC1@ma.tum.de> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1000615113330 DOT 11632U AT is> <394b9277 DOT 6362721 AT news DOT free DOT fr> |
NNTP-Posting-Host: | pcritter10.mathematik.tu-muenchen.de |
Mime-Version: | 1.0 |
X-Trace: | wsc10.lrz-muenchen.de 961408281 8853 131.159.69.74 (19 Jun 2000 09:51:21 GMT) |
X-Complaints-To: | news AT lrz-muenchen DOT de |
NNTP-Posting-Date: | 19 Jun 2000 09:51:21 GMT |
X-Mailer: | Mozilla 4.73 [de]C-CCK-MCD DT (Win98; U) |
X-Accept-Language: | de,en,en-US |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Couperin schrieb: > > On Thu, 15 Jun 2000 11:33:49 +0300 (IDT), Eli Zaretskii > <eliz AT is DOT elta DOT co DOT il> wrote: > > >> C:\djgpp\travail>gcc -o circtest.exe circtest.c {that is my command} > > > >This is wrong: you need to append -lgrx20 or -lgrx23 (depending on > >what is the library name) to this command line. > >[...] > > You are right. It's -lgrx20 (even with GRX23). > I know now that I have no problems with GRX23 : > I can compile all the demo programs with this command. > > But... I'm still having linking problems with BCC2GRX and BGI2GRX. I > spend a long time wandering through FAQs and Info files, and trying to > change parameters in my configuration (I restored the djgpp.djl file > in DJGPP\lib\, because it seems I need it) : > no results ! > > I can compile all the BCC2GRX demo files except one : bccbgi.c : > > My command : gcc -o bccbgi.exe bccbgi.c -lbcc2 -lgrx20 > The result : > c:/djgpp/tmp\cccyfwgg(.text+0x656):bccbgi.c: undefined reference to > `setrgbdefaults' > ------------------- Intuitively I tried gcc -g -Wall bccbgi.c -o bccbgi.exe -lbcc2 -lgrx20 -I addons addons\egacolor.o addons\bgiext01.o addons\bgiext02.o I don't know if its documented anywhere, but it should. but cd to $DJDIR\Contrib\bcc2grx\TEST directory MAKE clean MAKE (DJGPP GNU-MAKE!) should do also -- Gruss Waldemar Schultz. Technische Universität München, Zentrum Mathematik M1, D 80290 München Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |