[comp.sources.d] Problems making stevie 3.69a

emmonsl@athena (L. Scott Emmons) (03/11/90)

I just grabbed stevie 3.69a off of comp.sources.misc, and have had some
problems making it on my PC (I am using Turbo Make, TC-2.0):

	-the 'ascii.h' file seems to be missing from the shar files.  No
	problem, I just ftp'd to a site that had older stevie sources and
	stole the ascii.h file.

	-the makefile asks for a file named 'wildargs.obj' in \tc\lib.  I
	don't have any such file...I even searched through my TC-2.0
	distribution disks and was unable to find this object file...where
	does this file come from???

	-when I execute 'tcc -estevie *.obj' I get:
	"undefined symbol '_main' in C0S".  The main.obj file is, I assume,
	being found by the *.obj wildcard specification. (I am using the *.obj
	to get around the problem that the makefile has with too long of a
	command line).

Any help would be greatly appreciated....even better yet would be any known
ftp sites with the binary for the PC.

Thanks,
			L. Scott Emmons
			---------------
	...[!ucbvax]!ucdavis!csusac!{scott,athena!emmonsl}
	ucdavis!csusac!{scott,athena!emmonsl}@ucbvax.berkeley.edu

richard@calvin.spp.cornell.edu (Richard Brittain) (03/11/90)

In article <1990Mar11.003859.14305@csusac.csus.edu> emmonsl@athena (L. Scott Emmons) writes:
>
>	-the makefile asks for a file named 'wildargs.obj' in \tc\lib.  I
>	don't have any such file...I even searched through my TC-2.0
>	distribution disks and was unable to find this object file...where
>	does this file come from???

The wildargs.obj file is wrapped in an arc file (I think startup.arc) along
with the .asm files for the rest of the startup modules.

Don't forget to "flip" the LFs to CRLFs - tcc will silently accept files with
just LFs, but it doesn't actually compile anything.
 
The problem of the command line too long can be solved (if you have NDmake)
by replacing the tcc call with a call directly to tlink (for which make can
build a response file automagically)
thusly

LINK= tlink
stevie.exe : $(OBJ) $(MACH) $(OTHER)
        $(LINK) /c $(OBJ) $(MACH) $(OTHER) $(LIBS)\c0$(MODEL), $@,, \
                $(LIBS)\c$(MODEL).lib $(LINKFLAGS);

I'm eagerly awaiting ascii.h also.

Richard Brittain,                   School of Elect. Eng.,  Upson Hall   
                                    Cornell University, Ithaca, NY 14853
ARPA: richard@calvin.spp.cornell.edu	
UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard