www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/30/23:22:31

Message-Id: <9612310422.AA02812@traverse.lib.mi.us>
From: "Paul C." <aj822 AT traverse DOT lib DOT mi DOT us>
To: <djgpp AT delorie DOT com>
Cc: "Paul G Cafaro" <aj822 AT traverse DOT lib DOT mi DOT us>
Subject: Error when compiling Ghostsctript using DJGPP
Date: Mon, 30 Dec 1996 23:09:16 -0500
Mime-Version: 1.0

Hello,

I'm compiling a MSDOS version of Aladdin's Ghostscript to add an extra
printer.  It goes just fine through the makefile but at the very end it
chokes on 2 spots.
(See below on the excerpt of the Makefile)
Problem #1
The Echo command returns a DOS like error, so I substitutred that line by
using the type command as follows:
		type paul.txt >>_temp_
(where the file PAUL.TXT contains the text -lsys -lc -lm)
Doing that DOS command sustitutiuion seems to take away choking spot #1.  

Problem #2
But choking spot #2 is occuring on the next line when GCC is executing the
command.  It cannot find the file or library -lsys.  I seem unable how to
find and solve this problem.  It is happy with -lc and -lm since I believe
it found it since at the DOS prompt I typed GCC -lc and it was happy. 
Latter I typed GCC -lm  it was happy also, but it didn't like GCC -lsys
indicated the file or lib not found.  Am I missing a library file? Any
ideas?

Thanks for any help.
Paul Cafaro
=====Excerpt of MAKEFILE========
# ----------------------------- Main program ------------------------------
#

BEGINFILES=
CCBEGIN=$(CCC) *.c

# Interpreter main program

$(GS_XE): ld.tr gs.$(OBJ) $(INT_ALL) $(LIB_ALL) $(DEVS_ALL)
	$(CP_) ld.tr _temp_
	echo $(EXTRALIBS) -lm >>_temp_
	$(CC) $(LDFLAGS) $(XLIBDIRS) -o $(GS) gs.$(OBJ) @_temp_
	strip $(GS)
	coff2exe $(GS)  
	del $(GS)  
#    Copyright (C) 1994, 1995, 1996 Aladdin Enterprises.  All rights
reserved.
# 
# This file is part of Aladdin Ghostscript.
# 
# Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No
author
=====Excerpt of MAKEFILE========


- Raw text -


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