Mail Archives: djgpp/2001/02/19/07:42:30
Hi,
thanks for your very fast reply. Here's a more detailed description of my
problem:
- I have DJGPP installed under Win2000 on Drive D in directory d:\djgpp.
- I have done this this by downloading and unzipping
unzip32.exe to unzip the zip files 91 kb
v2/copying.dj DJGPP Copyright info 3 kb
v2/djdev203.zip DJGPP Basic Development Kit 1.5 mb
v2/faq230b.zip Frequently Asked Questions 664 kb
v2/readme.1st Installation instructions 20 kb
v2apps/rh1478b.zip RHIDE 2.0 mb
v2gnu/bnu2951b.zip Basic assembler, linker 2.4 mb
v2gnu/bsn128b.zip Bison 153 kb
v2gnu/flx254b.zip Flex 189 kb
v2gnu/gcc2952b.zip Basic GCC compiler 1.8 mb
v2gnu/gdb500b.zip GNU debugger 1.1 mb
v2gnu/gpp2952b.zip C++ compiler 1.6 mb
v2gnu/mak3791b.zip Make (processes makefiles) 263 kb
v2gnu/txi40b.zip Info file viewer 632 kb
to this dir.
- Then I set DJGPP=d:\djgpp\djgpp.env. and added d:\djgpp\bin to the PATH
variable.
- I installed the .reg file with and checked it:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\FileSystem]"NameNumeric
Tail"=hex:01
With regedit I could see, that NameNumericTail now has value 01.
(Could there be any problems with this and Win 2000?)
- I tried to compile my old project using make and hand following error
messages:
cd cpu32os ; make ; cd ..
** error -1 ** deleting buildcpu32os
- I made a new project with following structure:
T:\test>dir /s Datenträger in Laufwerk T: ist Data Datenträgernummer:
3D29-025E
Verzeichnis von T:\test
19.02.2001 13:12 <DIR> .19.02.2001 12:45 <DIR>
..19.02.2001 13:12 61 makefile19.02.2001 13:11
<DIR> src 2 Datei(en) 123 Bytes
Verzeichnis von T:\test\src
19.02.2001 13:11 <DIR> .19.02.2001 13:12 <DIR>
..19.02.2001 13:11 69 main.c 2 Datei(en)
69 Bytes
Anzahl der angezeigten Dateien: 4 Datei(en)
192 Bytes 5 Verzeichnis(se), 1.680.867.328 Bytes frei
main.c:
#include <stdio.h>
int main() { printf("Hello World\n"); }
makefile:
main.obj: ssrc\main.c cd src; gcc -c main.c -o main.obj
When I try to compile it, I get similar error messages:
cd src; gcc -c main.c -o main.obj
** error -1 ** deleting main.obj
I really don't know why this doesn't work. What have I done wrong?
Thanks.
Eddy Ilg
- Raw text -