Is possible to compile the entire Linux kernel with Sun Compilers?

Hi,

i just wan't to test performance of theese compilers under Linux. I have a good experience in solaris. But I'm not really sure if i can compile kernel with them.

Using Sun Studio Express (12), under gentoo amd64 scratch :-).

I set variables CC to "cc -m64" & CXX to "CC -m64"

[310 byte] By [setuid.ha] at [2007-11-26 22:02:57]
# 1
I guess you can, but use -xarch=amd64 instead of -m64; the latter one is gcc option.
MaximKartasheva at 2007-7-10 10:43:44 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

> I'm not really sure if i can compile kernel

Sorry, not there yet. We are able to compile most of the language weirdness present in Linux kernel. Yet we do not support a couple of assembler-related extensions which do not let us compile functional kernel.

> use -xarch=amd64 instead of -m64; the latter one is gcc option

Thats wrong - in Sun Studio 12 we do support -m64, and even more - it is now a preferred way to specify architecture bitness.

regards,

__Fedor.

SFVa at 2007-7-10 10:43:44 > top of Java-index,Development Tools,Solaris and Linux Development Tools...