delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/08/18:41:03

Date: Thu, 8 Jun 95 15:47 MDT
From: mat AT ardi DOT com (Mat Hostetter)
To: ddt AT npc DOT ece DOT utexas DOT edu (Dave Taylor)
Subject: Re: Please help authors of Doom!
Newsgroups: comp.os.msdos.djgpp
References: <3r7i2p$l3d AT npc DOT ece DOT utexas DOT edu>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

>>>>> "Dave" == Dave Taylor <ddt AT npc DOT ece DOT utexas DOT edu> writes:

    Dave> /usr/local/i386-msdos-go32/bin/ld:djgpp.lnk:1: parse error

    Dave> djgpp.lnk is the version that comes with V2, 950603, with
    Dave> the ^M's stripped.  The top line is
    Dave> OUTPUT_FORMAT("coff-go32").  I have tried replacing this
    Dave> with "i386-coff" and "coff-i386" to no effect.

    Dave> If someone could help me with this last step, I will post a
    Dave> DJGPP V2 Cross Compiling FAQ, as I found the process rather
    Dave> painful as someone new to building a gcc cross-compiler.

My djgpp.lnk is derived from V2 (950527), with the ^M's stripped out
and "coff-go32" replaced with "coff-i386".  It works fine under Linux.
We also use ld from binutils-2.5.2.

Can you tell me what exactly you are typing, and how your tools were
configured?  Here's how I can compile "foo.c" into "foo":

i386-msdos-go32-gcc -o foo foo.c -Xlinker -T/usr/local/i386-msdos-go32/lib/djgpp.lnk

There's also a chance that ld doesn't work well on an Alpha as a
cross-linker.  You might want to try this on a Linux box first if you
haven't already.

-Mat

- Raw text -


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