From: Waldemar Schultz Newsgroups: comp.os.msdos.djgpp Subject: Re: Pascal Date: Tue, 16 May 2000 18:33:18 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Lines: 85 Message-ID: <3921784E.4BDBFF3C@ma.tum.de> References: <391FFD73 DOT 2892 DOT 552880 AT localhost> <39217203 DOT F8AD99E3 AT ujf-grenoble DOT fr> NNTP-Posting-Host: pcritter10.mathematik.tu-muenchen.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: wsc10.lrz-muenchen.de 958494877 10918 131.159.69.74 (16 May 2000 16:34:37 GMT) X-Complaints-To: news AT lrz-muenchen DOT de NNTP-Posting-Date: 16 May 2000 16:34:37 GMT X-Mailer: Mozilla 4.6 [de] (Win98; I) 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 Maurice Lombardi schrieb: > > pavenis AT lanet DOT lv a écrit : > > > > On 15 May 2000, at 11:01, Waldemar Schultz wrote: > > > > > Maurice Lombardi schrieb: > > > > > > > You can find of the last alpha gpc-19991030 compiled with gcc 2.95.2 > > > > using standard djgpp tools (LFN W98 dos box), ready to unzip into the > > > > djgpp tree, in our ftp server: > > > > > > > > ftp://genet.ujf-grenoble.fr/pub/GPC/gpc-19991030-gcc-2952-djgpp.zip > > > > > > It seems that gpc-cpp.exe were based on outdated version of cpp > > which doesn't support option -remap. Of course it's possible to remove > > this option from e:/djgpp/lib/gcc-lib/djgpp/2.952/specs but I don't > > think this only problem with gpc-19991030 and gcc-2.95.2. I'm afraid > > that also handling DOSish directory separator '\' could be broken. > > No, this has been corrected now, and the remaining problem came from > remnant of old files due to previous installation trials. > I tried to compile the files in .../demo with little success: what am I missing please? (sorry for the long logfile) c:/temp\ccbq442h1.o(.text+0x216):bigmemdemo.pas: undefined reference to `Allocatebigmem' c:/temp\ccbq442h1.o(.text+0x3e3):bigmemdemo.pas: undefined reference to `Movetobigmem' c:/temp\ccbq442h1.o(.text+0x4b5):bigmemdemo.pas: undefined reference to `Movefrombigmem' c:/temp\ccbq442h1.o(.text+0x620):bigmemdemo.pas: undefined reference to `Mapbigmem' c:/temp\ccbq442h1.o(.text+0x727):bigmemdemo.pas: undefined reference to `Disposebigmem' collect2: ld returned 1 exit status e:/djgpp/bin/ld.exe: cannot find -lcurso collect2: ld returned 1 exit status c:/temp\ccbqy52h1.o(.text+0x373):dosunixdemo.pas: undefined reference to `Translateredirections' c:/temp\ccbqy52h1.o(.text+0x85a):dosunixdemo.pas: undefined reference to `Assigndos' collect2: ld returned 1 exit status filelock.c: In function `filelock': filelock.c:40: `LOCK_EX' undeclared (first use in this function) filelock.c:40: (Each undeclared identifier is reported only once filelock.c:40: for each function it appears in.) filelock.c:40: `LOCK_SH' undeclared (first use in this function) filelock.c:40: `LOCK_NB' undeclared (first use in this function) filelock.c: In function `fileunlock': filelock.c:46: `LOCK_UN' undeclared (first use in this function) gpc1.exe: e:/djgpp/bin/gpc.exe exited with status 1 filelockdemo.pas:38: `filelock.c' could not be compiled c:/temp\ccbika3h.s: Assembler messages: c:/temp\ccbika3h.s:2010: Error: suffix or operands invalid for `mov' pi.pas: In function `program_Pi': pi.pas:58: warning: cast increases required alignment of target type c:/temp\ccbyma3h1.o(.text+0x82a):pi.pas: undefined reference to `Mpf_pi' collect2: ld returned 1 exit status c:/temp\ccbi2a3h1.o(.text+0x32d):pipedemo.pas: undefined reference to `Pipe' collect2: ld returned 1 exit status c:/temp\ccbakb3h1.o(.text+0xeb):portdemo.pas: undefined reference to `ioperm' c:/temp\ccbakb3h1.o(.text+0x13c):portdemo.pas: undefined reference to `seteuid' c:/temp\ccbakb3h1.o(.text+0x18f):portdemo.pas: undefined reference to `Inportb' c:/temp\ccbakb3h1.o(.text+0x1e3):portdemo.pas: undefined reference to `Inportw' c:/temp\ccbakb3h1.o(.text+0x27b):portdemo.pas: undefined reference to `Outportb' c:/temp\ccbakb3h1.o(.text+0x290):portdemo.pas: undefined reference to `Inportw' c:/temp\ccbakb3h1.o(.text+0x329):portdemo.pas: undefined reference to `Inportb' c:/temp\ccbakb3h1.o(.text+0x349):portdemo.pas: undefined reference to `Outportw' c:/temp\ccbakb3h1.o(.text+0x35e):portdemo.pas: undefined reference to `Inportw' collect2: ld returned 1 exit status c:/temp\ccbavb3h.s: Assembler messages: c:/temp\ccbavb3h.s:1938: Error: suffix or operands invalid for `mov' e:/djgpp/bin/ld.exe: cannot find -lrx collect2: ld returned 1 exit status c:/temp\ccby3b3h1.o(.text+0x27b):trapdemo.pas: undefined reference to `Trapexec' collect2: ld returned 1 exit status -- 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