Compiler producing smaller code than gcc ? 
Author Message
 Compiler producing smaller code than gcc ?

Hello,
when changing my OS i program under from qnx4 to linux, i had to learn
that the watcom c/c++ compiler under qnx produces _much_ smaller code
than the gcc.
Is there any compiler for linux that also makes small objects ?
I used compiler flags like
-Os -g0 -fexpensive-optimizations -finline-functions -fstrength-reduce
-frerun-loop-opt -fregmove -fmove-all-movables

Thanks in advance,
  Tobias



Tue, 24 Feb 2004 20:49:05 GMT  
 Compiler producing smaller code than gcc ?

Quote:

> Is there any compiler for linux that also makes small objects ?

Try the nice people at comp.unix.programmer.

Bill, the ultimate fighting champion.



Tue, 24 Feb 2004 21:03:44 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Compiler produces bad code

2. Simple Code Produce "INTERNAL COMPILER ERROR"

3. Compiler produced IL code

4. Need a C compiler to produce stand-alone code

5. gcc Compiler and Error-Codes

6. Printing produces very small output

7. Browser accessible C compiler (produces downloadable MSDOS EXE files)

8. linking objects produced by Fortran compiler

9. /Gm option (minimal rebuild) produces INTERNAL COMPILER Error with boost::graph

10. Template invocation produces internal compiler error

11. ANSI C compilers that produce OMF

12. linking gcc code with CC code

 

 
Powered by phpBB® Forum Software