rebuild of glibc-2.3.0 for kfreeBSD
Petr Salinger
Petr.Salinger at t-systems.cz
Thu Nov 17 19:07:42 UTC 2005
> Ah, I see. But I wonder why they have this in i386/ directory. Maybe we should
> do the same and move the pre-processor builtin blurb to i386/kfreebsd-gnu.h too?
>
> Btw, does this affect gcc-4.0 ?
No, only gcc-3.3 is affected, can be tested by
touch empty.c
gcc-4.0 -fPIC -dD -E empty.c | grep -i pic
gcc-3.4 -fPIC -dD -E empty.c | grep -i pic
gcc-3.3 -fPIC -dD -E empty.c | grep -i pic
gcc-4.0 -fpic -dD -E empty.c | grep -i pic
gcc-3.4 -fpic -dD -E empty.c | grep -i pic
gcc-3.3 -fpic -dD -E empty.c | grep -i pic
> Ah, yes. This is a dirty hack of mine, to include kFreeBSD's sys/mount.h
> instead of Glibc's. Any idea on how to do it better?
Maybe let kfreebsd-kernel-headers generate <sys/mount.h> file
from kFreeBSD's sys/mount.h ?
Anyway, it is much easier to detect problems
than propose correct sollutions ;-)
Petr
More information about the Glibc-bsd-devel
mailing list