www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/04/11:05:20

From: mdruiter AT cs DOT vu DOT nl
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Diff Linux/DJGPP-obj ?
Date: 4 Sep 1998 13:45:21 GMT
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Lines: 20
Message-ID: <6soqth$9ur$1@star.cs.vu.nl>
References: <35EFD612 DOT 8E5D6435 AT mcis DOT de>
NNTP-Posting-Host: sloep06.cs.vu.nl
User-Agent: tin/pre-1.4-980730 (UNIX) (SunOS/5.5.1 (sun4u))
Originator: mdruiter AT sloep06 DOT cs DOT vu DOT nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gero Timann <geti AT mcis DOT de> wrote:
> Hi DJGPP-Fans !

> Would like to use linux-objs in my djgpp-programs. Naively i've thought,
> they uses the same compiler and therefore they uses the same o-format.
> But it isn't correct. DJGPPs loader doesn't like linux-o's. 

Right. Linux probably uses ELF, DJGPP uses COFF format, which are
quite different AFAIK.

> Whats wrong ? Is there any convert-utility ?

I don't know. You could try recompiling GNU Binutils with Linux ELF
support for DJGPP, but I doubt that will work.

-- 
Groeten, Michel.        http://www.cs.vu.nl/~mdruiter
  ____________
  \  /====\  /          "You know, Beavis, you need things that suck,
   \/      \/           to have things that are cool", Butt-Head.

- Raw text -


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