Mail Archives: djgpp/1996/12/31/00:27:42
I'm sorry, It looks like my mail program didn't include my E-mail Address
Paul Cafaro
aj822 AT leo DOT nmc DOT edu
Thanks,
Paul
> From:
> To: djgpp AT delorie DOT com
> Cc: Paul G Cafaro <aj822>
> Subject: Error when compiling Ghostsctript using DJGPP
> Date: Monday, December 30, 1996 11:09 PM
>
> 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 -