This is the mail archive of the gcc@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]

Remaining content of x-fragments


Appended is a report on the remaining content of the x-fragments.  For
each variable set there, for each value it's set to, the report lists
all the files that set it to that value.

It appears to me that most of these variables properly belong to the
t-fragments.  Of the variables set:

X_CFLAGS, RANLIB, RANLIB_TEST, INSTALL, CC, SHELL, BOOT_LDFLAGS are
definitely host configuration.

STMP_FIXPROTO, FIXPROTO_DEFINES, SYSTEM_HEADER_DIR, LIB2FUNCS_EXTRA,
EXTRA_PARTS are definitely target configuration.

OTHER_FIXINCLUDES_DIRS, LIBGCC2_INCLUDES, LIMITS_H_TEST, USE_COLLECT2
I'm not sure about.

Since fixincludes and fixproto are both disabled in a cross
configuration, setting variables that control them in an x-fragment
instead of a t-fragment is harmless.  However, some of the other
settings are not so harmless; SYSTEM_HEADER_DIR, LIB2FUNCS_EXTRA,
EXTRA_PARTS, and USE_COLLECT2 all affect the compiler itself.

-- 
zw     Well, there's another triumph for clean hands, a pure heart, a good
       soul...and vastly superior technology.
       	-- _Undocumented Features: Out in the Cold_

X_CFLAGS:
    "-D__INTERIX -D_ALL_SOURCE" x-interix
RANLIB:
    ":" x-interix
RANLIB_TEST:
    "false"     x-interix
INSTALL:
    "install -c"        i386/x-beos
CC:
    "cc -traditional-cpp"       rs6000/x-darwin
SHELL:
    "sh"        x-interix
BOOT_LDFLAGS:
    "-segaddr __DATA 6000000"   m68k/x-next

STMP_FIXPROTO:
    ""  x-interix x-linux i370/x-oe i386/x-beos i386/x-cygwin 
	i386/x-dgux m88k/x-dgux pa/x-pa rs6000/x-cygwin
FIXPROTO_DEFINES:
    "-D_HPUX_SOURCE"
	m68k/x-hp320 m68k/x-hp320g
    "-D__EXTENSIONS__ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS"
	mips/x-iris mips/x-iris6
    "-D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2"
	i386/x-sco5
    "-D_HPUX_SOURCE -D_HIUX_SOURCE"
	pa/x-pa-hpux
    "-D_POSIX_SOURCE -D_XOPEN_C -D_BSD_C -D_XOPEN_SOURCE"
	arm/x-riscix
    "-D_XOPEN_SOURCE"
	x-interix x-svr4
SYSTEM_HEADER_DIR:
    "$${INTERIX_ROOT}/usr/include"      x-interix
    "$(DJDIR)/include"  i386/x-djgpp
LIB2FUNCS_EXTRA:
    "quadlib.asm"       pa/x-pa-mpeix
EXTRA_PARTS:
    "crtbegin.o crtend.o gcc.ld"        m88k/x-dolph m88k/x-tekXD88

OTHER_FIXINCLUDES_DIRS:
    "/LocalDeveloper/Headers"   m68k/x-next
LIBGCC2_INCLUDES:
    "-idirafter $${INTERIX_ROOT}/usr/include"   x-interix
LIMITS_H_TEST:
 "[ -f $(SYSTEM_HEADER_DIR)/limits.h -o -f $(SYSTEM_HEADER_DIR)/ansi/limits.h ]"
	m68k/x-next
USE_COLLECT2:
    ""  rs6000/x-cygwin


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