This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix


> 
> Some handholding may be required if you want /mingw/include to move
> with the compiler, which it doesn't on other systems.
> 

mingw does't really have a system usr/include dir.  Its all local.
Here is the handholding, in config/i386/x-mingw:
#
# Make local_includedir relative to EXEC_PREFIX 
#
local_includedir=$(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) |
sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/include


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