Yeah! I see it. I never knew about shadow compilation before. Those web page
links is valid in my place. And I also find some other macros to control
this in building ON (
http://docs.huihoo.com/opensolaris/opensolaris-developer-reference/html/ch04.html
).
So, thanks a lot!

Cheers,

Wu Shu

2009/10/28 Martin Bochnig <martin at martux.org>

> On Wed, Oct 28, 2009 at 5:27 AM, Shu Wu <superwushu at gmail.com> wrote:
> > Hi, pals. I noticed in ONNV building process, gcc is used to build 64-bit
> > objects, while Sunstudio is used to build 32-bit objects by default. But
> I
> > wonder why is gcc used? Can't Sunstudio generate better 64-bit code than
> > gcc? Or may I set sunstudio to build 64-bit ON?
> >
> > Cheers,
> >
> > Wu Shu
>
>
> Hi Wu,
>
> as you describe it it had been true for the initial Solaris 10
> releases (FCS/GA and U1), because SUNWspro had not yet been ported to
> amd64 at that time.
>
> But now both compilers are being used to generate objects by default,
> and this applies to both IA32 and amd64. The difference is, which
> objects are then discarded and which - on the other hand - get linked.
> To best understand the concept of shadow compilation, you should read
> the following documents by good Keith M Wesolowski:
>
> http://hub.opensolaris.org/bin/view/Community+Group+tools/shadow
> http://hub.opensolaris.org/bin/view/Community+Group+tools/flagday
>
>
> Unfortunately the new website breaks many (most) old links.
> Was this necessary???
>
> Google still shows the old links:
>
>
> http://www.google.com/search?q=shadow+compilation%C2%A8opensolaris&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
>
> Is it a good idea to renovate the a website in such a way, that
> nothing gets found anymore (even w/o a notice one gets redirected to
> the main page, huh ... ) ??
>
>
>
> %martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/on-discuss/attachments/20091028/4dd22baa/attachment.html>

Reply via email to