Roland Mainz <[EMAIL PROTECTED]> wrote:
> The problem doesn't affect you directly.
> The issue is that we need a way to distingish between 32bit and 64bit
> because we merge arch/${platform}/inlcude/ast/ includes from 32bit and
> 64bit builds via "/usr/bin/diff -D<symbol>". The problem is that we
> can't use |_LP64| for <symbol> since the Sun Workshop/Forte/Studio
> compilers do not set |_LP64| (gcc set it, e.g.
> -- snip --
> $ (touch foo.h; /usr/sfw/bin/cpp -m64 -dM foo.h) | fgrep _LP64
> #define __LP64__ 1
> #define _LP64 1
> -- snip --
> ) and "injecting" a |#include <sys/isa_defs.h>| will fork() the includes
get a "schily" source package that contains a recent copy of the Schily
Makefilesystem. This is e.g. SCCS ftp://ftp.berlios.de/pub/sccs/
then look at include/schily/archdefs.h
It contains the right tests for you.
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code