From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-04-05 19:22:13
Miro Jurisic wrote:
> In article <013a01c53a26$cae17a70$6501a8c0_at_pdimov2>,
> "Peter Dimov" <pdimov_at_[hidden]> wrote:
>>>>sp_counted_base_gcc_ppc.hpp and sp_counted_base_cw_ppc.hpp are now in
>>>>CVS. Uncomment the appropriate lines in sp_counted_base.hpp to enable
>>>>them (is __powerpc__ the proper target macro for g++?)
>>>Good question.. I'll find out when I try it :-)
>>g++land is so exciting ;-) It seems that the Apple variant defines __ppc__,
>>whereas the Linux/PPC version defines __powerpc__.
> Which macro is the right one depends on what you really mean. Are you trying to
> conditionalize on g++ on Mac OS X? Any C++ compiler on Mac OS X? g++ on any PPC
> platform? The answers are different for each one of those. Odds are you want
> __APPLE__ && __MACH__, and not get PPC involved at all.
Looking at Peter's code it seems he is interested in GCC on any PPC
platform. It's selecting the type of assembly code to use, so the OS has
nothing to do with it.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk