delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/01/30/13:34:51

Sender: rich AT delorie DOT com
Message-ID: <38947EE7.BD531DFB@tudor21.net>
Date: Sun, 30 Jan 2000 18:11:51 +0000
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: DJGPP under linux
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000130093002 DOT 17273E-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Eli Zaretskii wrote:
> Seems like the cross-compiler HOWTO needs to be updated.  At least as
> far as stubify is concerned, the -o switch is IMHO incorrect: the
> executable should go into the bin subdirectory.  Also, adding the info
> about C++ would be a good idea.

I built a cross egcs-1.1.2 last weekend, and I had this problem too.
Here's how I solved it:

cd /usr/local/i586-pc-msdosdjgpp
cp stubify /usr/local/lib/gcc-lib/i586-pc-msdosdjgpp/egcs-2.91.66/

Everything seems to work OK after that. libsocket compiled fairly simply.
cross-egcs 1.1.2 doesn't seem to like alias attributes though.

I've posted some notes to djgpp AT delorie DOT com (aka comp.os.msdos.djgpp)
about how to get egcs 1.1.2 to compile as a cross-compiler - the process
failed in a couple of places. I can forward them to this list too, if it's
thought to be benificial. Apart from the stubify problem, the only other
one was with the binutils patch - one file didn't patch sucessfully, but
was straightforward to patch by hand. This was because I didn't have the
versions specified in the HOWTO (because I didn't fancy the several hour
download time).

Bye,

-- 
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/

- Raw text -


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