| www.delorie.com/archives/browse.cgi | search |
| From: | evil_mike AT my-dejanews DOT com |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | path problems with djgpp and gcc-2.81 |
| Date: | Tue, 03 Nov 1998 20:03:30 GMT |
| Organization: | Deja News - The Leader in Internet Discussion |
| Lines: | 40 |
| Message-ID: | <71nnii$3h4$1@nnrp1.dejanews.com> |
| NNTP-Posting-Host: | 206.231.19.10 |
| X-Article-Creation-Date: | Tue Nov 03 19:28:25 1998 GMT |
| X-Http-User-Agent: | Mozilla/4.5 [en] (Win95; I) |
| X-Http-Proxy: | 1.0 x11.dejanews.com:80 (Squid/1.1.22) for client 206.231.19.10 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I just installed djgpp 201 development kit and runtime packages and the base
library. I have also installed gcc-2.81. When I try to compile gcc cannot
find the include files and ld has problems finding djgpp.djl and the standard
.o files.
The include files cannot be found even if I put the absolute path in the .c
I renamed the djgpp.djl in lib so that the new version that came with gcc
will be used and I am also using the djgpp.env that came with gcc. This
didn't help.
I'd appreciate any help with setting up these paths. I've just switched jobs
from a unix shop to a firmware shop that uses windows and I'm suffering from
unix withdraw.
Please email any responses to mike DOT shimony AT inrange DOT com. Thanks.
Below is the output from gcc and my test program.
#include <stdio.h>
void main(){
printf("Hello World!\n");
}
$ gcc -v test.c Using builtin specs. gcc version 2.8.1 cpp -lang-c -v -undef
-D__GNUC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMS DOS -DDJGPP=2
-D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__uni x -D__i386
-D__GO32 -D__MSDOS -D__DJGPP=2 test.c c:\windows\TEMP\ccaqskhh GNU CPP
version 2.8.1 (80386, BSD syntax) #include "..." search starts here: End of
search list. cc1 c:\windows\TEMP\ccaqskhh -quiet -dumpbase test.c -version
-o c:\windows\TEM P\ccbqskhh GNU C version 2.8.1 (djgpp) compiled by GNU C
version 2.8.1. test.c: In function `main': test.c:2: warning: return type of
`main' is not `int' as -o c:\windows\TEMP\cccqskhh c:\windows\TEMP\ccbqskhh
ld crtf.o crt0.o c:\windows\TEMP\cccqskhh -lgcc -lc -lgcc -Tdjgpp.djl
C:\UNIX\USR\BIN/ld.exe: cannot open linker script file djgpp.djl: No such
file o r directory (ENOENT)
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |