Mail Archives: djgpp/1998/02/13/02:31:36
can one compiled under dos be used in windows asuming there's no dos
specific code in it? i.e. just ansi c with no hardware calls.
On Thu, 12 Feb 1998 16:29:29 +0200 (IST), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:
>
>On Thu, 12 Feb 1998, cappa luca wrote:
>
>> Can I use an objectfile, such as "osp.o", compiled under LiNUX
>> with DJGPP ?
>
>No, you can't. Linux uses a different object file format (ELF, whereas
>DJGPP uses COFF). You can convert ELF to COFF if you have Binutils which
>support both formats, but even then an object file can require external
>functions and variables which don't exist on DJGPP.
>
>In sum: don't do that, object files from different systems don't mix
>well.
---------------------http://w3.nai.net/~perfecto--------------------------
Perry Fecteau, Republican
The new pages go up January 1,1998 *** POSTPONED UNTIL FURTHER NOTICE ***
---------------------http://w3.nai.net/~perfecto--------------------------
- Raw text -