delorie.com/archives/browse.cgi | search |
From: | "Christian Schlüssel" <c DOT schluessel AT q-bus DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | help!-again-can't compile c-files in directory 'Test' |
Date: | 27 Aug 1999 03:33:01 -0500 |
Organization: | Newscene Public Access Usenet News Service (http://www.newscene.com/) |
Message-ID: | <12sx3.13152$D93.306692@newscene.newscene.com> |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Lines: | 102 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
after receiving a lot of fair(!) complaints concerning my last message I'm trying to be more precise this time. First I gor all the zip from the zip-picker page for building and running c and c++ progs. that are: alleg311.zip bccgrx20.zip bnu281b.zip djdev202.zip gcc295b.zip gdb418b.zip gpp295b.zip grx23.zip grx23fnt.zip lgp2811b.zip mak377b.zip rsxdj15.zip txi312b.zip like in readme.1st I pkunzipped(-d) allinto D:\djgpp after that I set some path and variable info in autoexec.bat - set PATH=%PATH%;D:\DJGPP\RSXNTDJ\BIN;D:\DJGPP\BIN set DJGPP=D:\djgpp\djgpp.env SET RSXNTDJ=D:\DJGPP\RSXNTDJ set TMPDIR=D:\tempdir and restarted the machine which is winnt4.0 sp3. with allegro and rsxdj15.zip I did according to documentation - then here are my results: D:\DJGPP\Test>gcc -o Wintest Wintest.c -lm --leads to the following errors: D:\tempdir \ccH62msR.o<.text+0xe16>:Wintest.c: undefined reference to 'GrBox' D:\tempdir \ccH62msR.o<.text+0xde1>:Wintest.c: undefined reference to 'GrBlack' D:\tempdir \ccH62msR.o<.text+0xdc9>:Wintest.c: undefined reference to 'GrColorInfo' ... and about fifty lines more like this obviusly the graphics methods are unknown **************************************************************************** ******** compiling following code - #include <iostream.h> #include <conio.h> int main() { clrscr(); cout << "Hello world" << endl; return(0); } leads to following errors: D:\DJGPP\Projects>gcc -o test test.c test.c:1 iostream.h: No such file or directory <ENOENT> while iostream.h resides in DJGPP\Lang\Cxx **************************************************************************** ************** compiling upper code as c++ source works gcc -c -Wall test.cc -and gxx -o myprog.exe Test.o **************************************************************************** ************** when I try to install allegro pkunzippin alleg311.zip change to allegro dir and run make - I get the following error messages: ... In functio 'check_cpu': src/cpu.c:276: Invalid 'asm' statement: src/cpu.c:276: fixed or forbidden register 0 <ax> was spilled for class AREG. src/cpu.c:155: Invalid 'asm' statement: src/cpu.c:155: fixed or forbidden register 0 <ax> was spilled for class AREG. src/cpu.c:124: Invalid 'asm' statement: src/cpu.c:124: fixed or forbidden register 0 <ax> was spilled for class AREG. src/cpu.c:64: Invalid 'asm' statement: src/cpu.c:64: fixed or forbidden register 0 <ax> was spilled for class AREG. src/cpu.c:155: Invalid 'asm' statement: src/cpu.c:155: fixed or forbidden register 0 <ax> was spilled for class AREG. **************************************************************************** ************** Christian
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |