gcc: posix include directories under /sys/posix/
This commit is contained in:
parent
b60ed18066
commit
372896ff41
@ -30,10 +30,10 @@
|
||||
#define MD_STARTFILE_PREFIX "/arch/amd64/lib/"
|
||||
|
||||
#undef GPLUSPLUS_INCLUDE_DIR
|
||||
#define GPLUSPLUS_INCLUDE_DIR "/posix/include/g++"
|
||||
#define GPLUSPLUS_INCLUDE_DIR "/sys/posix/g++"
|
||||
|
||||
#undef GCC_INCLUDE_DIR
|
||||
#define GCC_INCLUDE_DIR "/posix/include/gcc"
|
||||
#define GCC_INCLUDE_DIR "/sys/posix/gcc"
|
||||
|
||||
/* Architecture specific header (u.h) goes here (from config.gcc) */
|
||||
#define ARCH_INCLUDE_DIR NATIVE_SYSTEM_HEADER_DIR
|
||||
@ -41,15 +41,15 @@
|
||||
/* The default include dir is /sys/include but... */
|
||||
#define PORTABLE_INCLUDE_DIR "/sys/include"
|
||||
|
||||
/* ...we have to wrap libc.h and stdio.h with POSIX headers */
|
||||
#define POSIX_INCLUDE_DIR "/sys/include/apw"
|
||||
/* ...we have to wrap libc.h and stdio.h with basic POSIX headers */
|
||||
#define BASIC_POSIX_INCLUDE_DIR "/sys/include/apw"
|
||||
|
||||
#undef INCLUDE_DEFAULTS
|
||||
#define INCLUDE_DEFAULTS \
|
||||
{ \
|
||||
{ GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 1, 0 }, \
|
||||
{ GCC_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \
|
||||
{ POSIX_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \
|
||||
{ BASIC_POSIX_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \
|
||||
{ ARCH_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \
|
||||
{ PORTABLE_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \
|
||||
{ ".", 0, 0, 0, 1, 0 }, \
|
||||
|
Loading…
Reference in New Issue
Block a user