delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/11/20/12:30:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Vjekoslav Levacic" <vjekoslav DOT levacic AT fer DOT hr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: compiling DJGPP source under WindowsXP
Date: Thu, 20 Nov 2003 18:18:07 +0100
Organization: CARNet, CROATIA
Lines: 43
Message-ID: <bpit0d$ul1$1@bagan.srce.hr>
References: <bpi6i2$29e$1 AT bagan DOT srce DOT hr> <u65hfvvxp DOT fsf AT elta DOT co DOT il>
NNTP-Posting-Host: cmung3289.cmu.carnet.hr
X-Trace: bagan.srce.hr 1069348685 31393 193.198.140.241 (20 Nov 2003 17:18:05 GMT)
X-Complaints-To: abuse AT carnet DOT hr
NNTP-Posting-Date: Thu, 20 Nov 2003 17:18:05 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

What we need is to compile a GCC in simpliest form which will allow us to
examine how it compiles programs written in C and C++. We wrote some simple
programs in C where GCC demostrates its optimizing techniques and using
the -fverbose-asm  flag we managed to see its machine code output and
compare diferences. Now we need to figure out internal structure of
compiler, how he manages internal reprsentation such as tree, and tables and
steps during
parsing, and traslating source code to machine code.
We started to examine manual which documents the internals of the GNU
compilers and source files of GCC but the size of compiler, its wideness and
resources (lack of computer with Linux) has forced us to ask for help.



"Eli Zaretskii" <eliz AT elta DOT co DOT il> wrote in message
news:u65hfvvxp DOT fsf AT elta DOT co DOT il...
> > From: "Vjekoslav Levacic" <vjeko_levka AT yahoo DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Thu, 20 Nov 2003 11:52:53 +0100
> >
> > I'm intersted if it is possible to compile DJGPP source on
WindowsXP/2000
> > platform with compilers such as Microsoft C++ 6.0, or some other
compiler
> > wich has IDE/debugging support.
>
> It is not clear what you mean by ``compile DJGPP''.  DJGPP is not a
> single program, it's a large collection of ported tools, such as GCC,
> as (the assembler), ld (the linker), and Make; and of libraries and
> utilities, such as the standard C library libc.a, which were written
> specifically for the DJGPP DPMI-based environment.
>
> You can take the sources of GCC and compile them with a Windows
> compiler, although I'd suggest to use something other than MSVC,
> probably a Windows port of GCC.  This will work, since GCC was ported
> to Windows.
>
> But compiling the DPMI-specific code in DJGPP will generally not work,
> because it requires DPMI and DOS function calls which cannot be used
> by Windows programs directly.
>


- Raw text -


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