From: Marc Singer Subject: Re: Simple help for unix guy To: nbn.nbn.com!sapien!exp2.wam.umd.edu!recurve (Aaron David Rosenzweig) Date: Mon, 9 Oct 1995 10:10:24 -0700 (PDT) Cc: nbn.nbn.com!sapien!sun.soe.clarkson.edu!djgpp (DJGPP List Alias) According to Aaron David Rosenzweig: > > First off, I see that djgcc needs a 386 or greater (PMMU) > but will the executables that we make with aout2exe need a minimum > of a 386 or will a 286 do fine? Pretty sure 386 is required. Have you downloaded the DJGPP FAQ? > > How are \r for source file carriage returns? I know dos > is CF and LF, but I do all my C++ work in THINK C++. Want to write > C++ programs? want to go object oriented? talk to a Macintosh guru :-) > *side note* Prograph should be available for the PCs around X-mas > or sometime later, look for it, it could change your life! C/C++ does not care what you use as a line terminator. > > How bout makefiles? I saw a make.ini but nothing along the > lines of make.exe. Just pulled off a file from the net called > "mak369bn.zip" is this it? You may want to invest in a book on GNU Make. The version that comes with DJGPP v2 is very stable and very powerful. It does have the quirk that TABs are required as the first character of command lines within rules. > > I didn't see how to do a makefile readily last night on my > buddy's 486, so I decided to make the object files and link them manually. > This is a pretty small simple program using binary search trees so it's > not that much of a pain. I wrote a quick "hello world" in C to see if > it compiled, it did. Now I try: > C:\DJGPP\BIN>gcc -c -o key.o key.cc > and I get: > Bad command or file name > Can't open c:/tmp/cc000061.s for readingfile not found. > > Got any ideas on that one? I made a tmp directory so it does exist, > there is over 120 megs of disk space available on the machine. Is your djgpp.env file correctly setup? This is illustrated in the FAQ. Are you using V1 or V2 or djgpp. V2 is preferred. I have been using it since it was released and it has been consistently more reliable than V1. ---------------------------------------------------------------------- Marc Singer | "... but when you eat this ... pear, you elf AT netcom DOT com | are rarely aware of the fact that it was or elf AT sapien DOT com | ... plucked from the branch of this ... < My comments are my own. > | pear tree." -- Charlie Varon