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]

Re: 32/64bit glibc and header files


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

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