www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/03/01/09:34:35

Date: Mon, 1 Mar 93 09:14:04 EST
From: DJ Delorie <dj AT ctron DOT ctron DOT com>
To: u7711501 AT bicmos DOT ee DOT nctu DOT edu DOT tw
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Build gcc 2.3.3 on pc

>  I got gcc 2.3.3 from net and transfer it to my pc. I use djgpp to compile
>it with no problem. The compilers are bigger than those in djgpp package.
>The object files(.o) produced by gcc 2.3.3 seem not faster or smaller than that 
>by djgpp. I test the new compiler with several programs. It seems no 
>problem. I don't know if this is a right way to build a new compiler. 
>Could anyone give me comment ?

Do NOT try to compile two .c's with the same invokation of gcc - it
will fail.

I use "gcc -O2" to compile gcc itself.  The executables I ship are
compiled with themselves and stripped.

>By the way, Should I build libgcc2, too ? How can I build libgcc1 with 'native'
>C compiler ?

You can't and shouldn't.  The native libc.a that comes with djgpp has
libgcc*.a built in.

DJ

- Raw text -


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