Mail Archives: djgpp-workers/2000/01/30/13:34:51
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 -