Hi Przemek and all,
I haven't yet found out how to switch between
different GCC versions in OS X + XCode 3.
XCode 3 is shipped with GCC 4.0.1 and 4.2.1,
but only the former (the default) was usable
so far.
[ Maybe "switching" isn't possible, but one needs
to use difference 'gcc' executable name... ? ]
Anyone with better success?
Brgds,
Viktor
On 2008.11.16., at 15:32, Przemyslaw Czerpak wrote:
2008-11-16 15:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
+ added support for built in GCC atomic functions: __sync_*()
They are present in GCC >= 4.1 if given CPU supports them. For
x86 CPU family the ones we use need at least i486 CPU. Please
make
tests with other CPUs like PPC. If given platform/CPU does not
support
them then GCC generate call to function __sync_*_<N>() where <N>
is size of given type used in atomic operation instead of storing
inlined assembler code.
best regards
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour