[tools-compilers] Missing xmmintrin.h when compiling Boehm-GC with -m64

2008-05-30 Thread mike.sulli...@sun.com
>From tools-compilers-bounces at opensolaris.org Fri May 30 09:58:01 2008

>I'm working on moving gcc from /usr/sfw into /usr/bin and the resulting 
>path of
>this include is:
>/usr/lib/gcc/i386-pc-solaris2.11/3.4.3/include/xmmintrin.h
>which should cure this problem.

actually only if you'd also fixed

6486984 /usr/sfw/bin/gcc doesn't find mmintrin.h by default

which was fixed in 87, hopefully correctly :)

Mike



[tools-compilers] "-xc99=all" vs. "-xc99=%all" ... / was: Re: [sfwnv-discuss] code review request: add 64-bit tcl/tk support

2007-11-07 Thread mike.sulli...@sun.com
>From roland.mainz at nrubsig.org Wed Nov  7 16:31:10 2007
>
>Mike Sullivan wrote:
>[CC:'ing tools-compilers at opensolaris.org that the people there take a
>look...]
>> Roland Mainz wrote:
>> >> xc99 was already in Makefile.master.  I've added the other options as:
>> >> # XPG6
>> >> XPG6MODE=   -D_XOPEN_SOURCE=600
>> >> XPG6MODE_EXT=   $(XPG6MODE) -D__EXTENSIONS__=1
>> >
>> > Erm, I suggest to keep "-D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1" together
>> > and drop the "standalone" |XPG6MODE| (it may even be usefull to add
>> > "-xc99=%all" at the front of this line since you can't use _XOPEN_SOURCE
>> >> = 600 without enabling C99 mode first).
>> 
>> Though using $(C99_ENABLE) would be better (or $(C99MODE). Particularly
>> since we use -xc99=all not %all because that % hoses something (I
>> think some configure's break but not sure, I can't find any
>> info on that so I may have been told about it.
>
>Are you sure both "-xc99=all" and "-xc99=%all" do the same stuff (AFAIK
>the answer is "yes"... but then I am wondering why the '%' is
>used/allowed...) ?

according to the man page it would seem to, but I don't see it
mentioning the % syntax in relation to the -xc99 option anyway
(for SS11).

BTW could C++ use those -D defines for xpg6? if so perhaps a
C compiler option should not be in an XPG6MODE macro, or it
should be a CXPG6MODE macro.

Mike