Mail Archives: djgpp/1996/09/18/09:18:38
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 -