Roland Mainz <roland.mainz at nrubsig.org> 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:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily