32/64bit glibc and header files

Ulrich Drepper drepper@redhat.com
Sun Sep 24 07:49:00 GMT 2000


Thorsten Kukuk <kukuk@suse.de> writes:

> 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 ?

All these headers should have appropriate #ifs to recognize the
current platform.  This is already done in some/most/all? places.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list