GCC flags?

"Henry R. Bent" <[email protected]>
Newsgroups gmane.os.netbsd.ports.sun3
Organization Oberlin College
Message-ID <[email protected]>
Hi all,

I noticed something odd when checking default compile flags today.  For
reference, this is the release version of 1.6 running on a 3/60.

I have a file blah.c that contains the single line "main () {}" that I use for
testing.  Saying gcc -v -Q blah.c gives a lot of output, but the things I'm
interested in are here:

options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -fargument-alias -fident -m68020
 -mc68020 -mbitfield -m68881 -m68030 -m68332 -mcpu32

This implies that GCC is generating 68030 code for my 68020 system, which is
presumably being emulated?  You'll forgive my relative ignorance, as I'm mostly
a MIPS person.  This seems like an awfully slow way to do things, though I've
not yet had a chance to cross-build my own copy of GCC for speed comparison. 
Can anyone offer any insight?

-- 
Henry Bent
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.