This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-mcpu on solaris 8x86 (GCC 3.2.1)


-mcpu=cpu-type
Tune to cpu-type everything applicable about the
generated code, except for the ABI and the set of
available instructions. The choices for cpu-type are
i386, i486, i586, i686, pentium, pentium-mmx,
pentiumpro, pentium2, pentium3, pentium4, k6, k6-2,
k6-3, athlon, athlon-tbird, athlon-4, athlon-xp and
athlon-mp.

I cannot build any software with '-mcpu=pentium4' but using
'-mcpu=pentium' works.

I compiled gcc 3.2.1 with:

gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.2.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2.1

is there anything else I need in order to use the -mcpu=pentium4 command?

I have built this setup on FreeBSD and the command WORKS.....
(but not under solaris)


Any comments will be appreciated.







--
J.D. Bronson
Aurora Health Care // Information Systems // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.603.8282


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]