This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Add --with-ilp32-large-off_t


> My first attempt is to add mx32 and m32 directory under x86.
> But I couldn't find an easy to add it to sysdirs,

Certainly it may require some configure changes to make it possible for
a preconfigure fragment to influence it or whatever.  What I really had
in mind was that we intend to completely rework the whole sysdeps
selection mechanism and we really haven't even begun to figure out what
to do.  If we keep this kind of case in mind when we do that, then
probably we can make this quite easy.

A different possibility may be just to have a sysdeps Makefile modify
sysdirs.  Those are processed before sysd-rules is generated or read.

OTOH, it's been noted that adding more sysdeps directories in the
general way slows down make because of all the pattern rules.  So
another possibility is to add a directory for this purpose but not
actually put it in sysdirs.  That is, have a sysdeps Makefile modify
+sysdep-includes and define its own $(inst_includedir)/%.h pattern rule.
That rule will come before all the ones defined in sysd-rules.


Thanks,
Roland


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