www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/18/09:18:38

Date: Wed, 18 Sep 1996 12:50:35 -0300
Message-Id: <1.5.4.16.19960918095129.372f4704@dmeasc.rc.ipt.br>
Mime-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>,
Christian Axbrink <sa9471 AT ida DOT utb DOT hb DOT se>
From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
Subject: Re: What parts of DJGPP are 'pure' unix ?
Cc: djgpp AT delorie DOT com

At 13:39 18/09/96 +0200, Eli Zaretskii wrote:
>
>On Mon, 16 Sep 1996, Christian Axbrink wrote:
>
>> This implies either that at least some parts of the DJGPP package is
>> *completely*  Unix compatible (I mean, we are not talking about any old
>> application here, we are talking about the compiler, the most convoluted
>> and low-level thing on any system, yes?) or unwholesomely smart and
>> allknowing makefiles.
>> So I wonder, wich parts are compiled from 'pure' GNU unix source code,
>> and wich parts are rewritten for DOS ?  
>
>Gcc has a way to autoconfigure itself (when you build it) to 
>a version that will run on a certain machine and a certain operating 
>syste.  Basically, this is done by selecting header files specific to 
>that machine/OS combination.
>
>The DJGPP-specific parts of GCC are made of 2 things:
>
>1) The i386 code-generation
>This is (almost) the same as for any other system which runs on Intel 
>processors.
>
>2) The MSDOS-specific issues (like the pathnames with drives etc.).
>These are included in the official GCC sources, conitioned on cpp 
>directives like #ifdef MSDOS.
>
>This way, the MSDOS support is both specific to MSDOS and part of the 
>official GCC distribution.
>

So, if I run configure in a Linux box I would be able to create a "cross
compiler" for MSDOS (host==Linux, taget==MS-DOS)? Or, this will only work
w/DJGPP sources?





>> Is it possible to recompile the libraries with pentium opt. ?
>
>Just get the sources of the library and run Make.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak                      E-mail: csrabak AT ipt DOT br
DME/ASC                                   Phone: 55-11-268-35221Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax:   55-11-268-5996
Av. Prof. Almeida Prado, 532.  Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


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