www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/08/16:55:24

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2486
Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!news.mathworks.com!news.kei.com!eff!news.umbc.edu!haven.umd.edu!cville-srv.wam.umd.edu!exp2.wam.umd.edu!recurve
From: recurve AT exp2 DOT wam DOT umd DOT edu (Aaron David Rosenzweig)
Newsgroups: comp.os.msdos.djgpp
Subject: Simple help for unix guy
Date: 8 Oct 1995 14:12:42 GMT
Organization: University of Maryland College Park
Lines: 77
Nntp-Posting-Host: exp2.wam.umd.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

	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?

	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!

	The reason for this exercise is the local Cavalry club
would like a special taylor made database to run on their 286 dos
computer.  Isn't this what us programmers are for? to help people 
be their best.  (even if they have a piss ass operating system, and
4 bloody registers <<snicker>>)

	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?

	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.

	To cap:
*converting carriage returns is a minor hassle, I'll do it if needed
*make facility?
*"Can't open...readingfile not found" error
*Do executables work on the 286?

	Oh, I looked at the EZ-GCC pages, they mention patches, should I
consider removing all of djgcc and installing EZ-GCC?

	I'm enclosing a makefile, does it look alright?

all: clean cavalry.exe

cavalry.exe: key.o key2.o tree.o invdata.o impdbase.o
        ld -o cavalry key.o key2.o tree.o invdata.o impdbase.o
        aout2exe cavalry
        echo DONE AT LAST


key.o: key.cc key.h
        gcc -c -o key.o key.cc

key2.o: key2.cc key2.h
        gcc -c -o key2.o key2.cc

tree.o: tree.cc tree.h
        gcc -c -o tree.o tree.cc

invdata.o: invdata.cc invdata.h
        gcc -c -o invdata.o invdata.cc

impdbase.o: impdbase.o impdbase.h
        gcc -c -o impdbase.o impdbase.cc

clean: rm *.o cavalry cavalry.exe



	Shoot straight!

The bearded Tubist, son of Ginger and Harry, Aaron Rosenzweig.
http://www.wam.umd.edu/~recurve/
finger recurve AT wam DOT umd DOT edu to get my PGP key.
..

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019