Mail Archives: djgpp/1998/09/04/15:46:26
From: | janet AT olympia DOT whoi DOT edu (Janet J. Fredericks)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | just 'bought' djgpp/ porting unix code
|
Date: | 4 Sep 1998 19:20:17 GMT
|
Organization: | Woods Hole Oceanographic Institution
|
Lines: | 46
|
Distribution: | usa
|
Message-ID: | <6spehh$64v1@dilbert.whoi.edu>
|
NNTP-Posting-Host: | olympia.whoi.edu
|
Keywords: | djgpp,unix,windows98
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am porting code from unix to windows98. I just
bought the CD-ROM from Walnut Creek with the djgpp.
(Thought there might be some better documentation,
but there wasn't any.) Anyways, so far after the
initial installation and a couple of hours of nosing
around the documentation, I'm not even
able to compile hello.c. (It says it cannot find the
stdio.h file. Now a newsgroup-advisor told another
newsgroup-seeker that the problem could be solved by
seting LFN=y in the autoexec.bat. But, in the faq
it says to set LFN to n.) Anyways, as a non-windows
person:
1) where should variables be set
a) in DJGPP.ENV or AUTOEXEC.BAT
(btw does .ENV have to do with the
mystical registry?)
2) since my code has no LF, do i need to put them into
the code? do i need to write a script or does
one come with djgpp?
3) what about the makefiles? do i need backslashes and c:
around all my file references? minimally, i assume
i need to change my executable names to prog.exe from prog
or does djgcc do this for me?
I may have been mistaken in choosing djgcc, i thought it
would be better than cygnus' gcc because it would do more of
the conversion for me.
4) once i write & compile these vanilla programs (no irq's or
other nasty stuff), do i need to specifically run the
CWSDPMI or is that something that's incorporated into
windows98?
I saw a line that looked encouraging (porting unix code) in the www.delore.com/djgcc/ug
section, but no link activated (yet?). Is there a draft anywhere?
Thanks in advance.
--
* Janet Fredericks (jfredericks AT whoi DOT edu) *
* Woods Hole Oceanographic Institution *
* Woods Hole MA (USA) *
* 508-289-2573 *
- Raw text -