32/64bit glibc and header files
Thorsten Kukuk
kukuk@suse.de
Sun Sep 24 02:00:00 GMT 2000
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.
More information about the Libc-hacker
mailing list