From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9109af6114eed0ff,start X-Google-Attributes: gidfee84,public From: st000249@hrzpub.th-darmstadt.de (Juergen Bock) Subject: gcc2.7.0 and native cc comparison? Date: 1995/10/27 Message-ID: <46qgie$ehs@rs18.hrz.th-darmstadt.de>#1/1 X-Deja-AN: 118247585 organization: Technische Hochschule Darmstadt newsgroups: comp.unix.osf.osf1 Hi there, now that I installed gcc 2.7.0 on our alpha (OSF3.2c) I see that the compiled binaries are a lot bigger when using gcc compared to native cc. They are only about the same size when I don't use any debug information. I compiled bash with both compilers and -O -g3 and the results are gcc: 2211840 Bytes cc: 1114112 Bytes -gstabs or -coff or other debug flags didn't reduce the size significantly with gcc. Does the native dec compiler produce better code or did I make a mistake when compiling gcc? Has anybody else encountered similar problems? Does anybody know a cure? Or is it worth to have big binaries with gcc? Thanx Juergen PS: Do me a favour and mail a copy of your answers directly to me.