<sys/isa_defs.h> vs. |_LP64| vs. 32bit/64bit usr/include/ast/ merge / was: Re: [ksh93-integration-discuss] Re: [osol-code] ksh93-integration prototype004 2007-01-27 webref+diff

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Feb 6 02:58:33 PST 2007


"Garrett D'Amore" <garrett_damore at tadpole.com> wrote:

> Huh?  sys/isa_defs.h should come in via sys/types.h.    If you're not
> getting sys/types.h, then all bets are off.
>
> isa_defs.h gets the _LP64 by looking at __amd64 or __sparcv9.  You could
> use the same tests, but I would discourage you from doing so.

Why?

If you like to write portable software you need to depend on this.

I have a similar problem in the schily makefilesystem. The first
include file must be <schily/mconfig.h> and this needs to include 
platform specific include files _before_ including any of the system include
files (if in "static" compile mode like with the makefiles from ON).

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



More information about the ksh93-integration-discuss mailing list