www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/26/14:35:26

Date: Tue, 26 Sep 1995 18:50:35 +0100
From: Andreas Busse <andy AT soft-n-hard DOT de>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Cross Compilation under Linux

Hi all,

finally I've managed to build a cross compiler under Linux
for DJGPP V2/Beta3. But:

The default linker scripts in binutils-2.5.2 for i386go32 don't match 
the ones in bnu252s-beta3, and the sources to generate them aren't 
included in bnu252s-beta3. However, I "reverse engineered" them 
successfully. If someone is interested, I can post patches to the
list.
Together with these patches and configured with 
"--host=i486-linux --target=i386-go32" binutils compile out of 
the box (at least it looks like).

Next I tried to build gcc-2.6.3 from the original GNU distribution.
It complained about a lot of header files, and only with some hacks
I was able to build at least a standard C compiler, with which I
compiled a "hello, world" program. After running stubify on it,
it worked fine on my DOS box.

My questions: Are there any known problems either with the
header files of V2-Beta3, or with the GNU release of gcc-2.6.3 ?
Or is this only my fault ?
And, is there some kind of stubify for Linux, either source or
binary? I couldn't find it.

Thanks for any help!

Andy

-----------------------------------------------------------
Andreas Busse                      | andy AT soft-n-hard DOT de
Soft N Hard GbR                    | Phone: +49 2636-970105
Im Hufen Boden 16, D-53498 Waldorf | Fax:   +49 2636-970106
-----------------------------------------------------------

- Raw text -


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