This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

32/64bit glibc and header files



Hi,

If we have on a system a 32bit and a 64bit version of glibc
(for example on UltraSPARC), we have different paths for the
libraries. gcc has a switch for using 32 or 64bit. But what
should we do with the header files ? As far as I can see there
is only one directory (/usr/include) for both versions.
On UltraSPARC we have at least 5 header files which are not the
same on 32bit and 64bit systems (bits/endian.h [no real problem],
bits/siginfo.h, bits/syscall.h, gnu/stubs.h and ieee754.h).

Is there any solution ? Can gcc search in different subdirectories
depending if I use -m32 or -m 64 ?

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/       kukuk@suse.de
SuSE GmbH            Schanzaeckerstr. 10            90443 Nuernberg
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]