www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/10/03:38:57

Xref: news2.mv.net comp.os.msdos.djgpp:2569
From: j DOT j DOT vanderheijden AT mail DOT student DOT utwente DOT nl (J.J. van der Heijden)
Newsgroups: comp.os.msdos.djgpp
Subject: Need help with linux->djgpp1,2 crosscompiler.
Date: 9 Apr 1996 14:35:08 GMT
Organization: Universiteit Twente
Lines: 33
Message-ID: <4kdsis$389@dinkel.civ.utwente.nl>
Reply-To: j DOT j DOT vanderheijden AT mail DOT student DOT utwente DOT nl
NNTP-Posting-Host: pc041.pczaalciv.utwente.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I'm trying to set up my linux system to build msdos executables simular
to djgpp.

So I took the binutils-2.6 and gcc-2.7.2 sources, configured them:

   $configure --host=i486-linux --target=i386-go32 --prefix=/usr

built them, and installed them. Essentially, the same method has worked
before for other targets.

I installed djgpp v2 libs under /usr/i386-go32/lib, converted include
files to unix format and installed them under /usr/i386-go32/include.

With this setup, I can build executables, but go32 won't execute them.
If I do the linking on msdos, the executable works, so I guess my gcc
and gas are OK.

Also, I found out that the v2 linker doesn't use i386-coff but i386-go32
as it's default output format. I suspect this is were my troubles come
from.

I repeated this exercise with v1 libs, includes & go32, but with the same
results.

I searched the news archive at www.delorie.com, but I'm still clueless.

Now, I know some people out there have build a linux->djgpp setup.
Could somebody please help me out here?

TIA
J.J. van der Heijden

- Raw text -


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