mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
46 lines
1.4 KiB
C
46 lines
1.4 KiB
C
/* $FreeBSD$ */
|
|
|
|
/* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD
|
|
source tree so it can be configured appropriately without using
|
|
the GNU configure/build mechanism. */
|
|
|
|
/* Look for the include files in the system-defined places. */
|
|
|
|
#define GPLUSPLUS_INCLUDE_DIR "/usr/include/g++"
|
|
#define GCC_INCLUDE_DIR "/usr/include"
|
|
|
|
/* Now that GCC knows what the include path applies to, put the G++ one first.
|
|
C++ can now have include files that override the default C ones. */
|
|
#undef INCLUDE_DEFAULTS
|
|
#define INCLUDE_DEFAULTS \
|
|
{ \
|
|
{ GPLUSPLUS_INCLUDE_DIR, "C++", 1, 1 }, \
|
|
{ GCC_INCLUDE_DIR, "GCC", 0, 0 }, \
|
|
{ 0, 0, 0, 0 } \
|
|
}
|
|
|
|
/* Under FreeBSD, the normal location of the compiler back ends is the
|
|
/usr/libexec directory. */
|
|
|
|
#undef STANDARD_EXEC_PREFIX
|
|
#undef TOOLDIR_BASE_PREFIX
|
|
#undef MD_EXEC_PREFIX
|
|
|
|
#define STANDARD_EXEC_PREFIX "/usr/libexec/"
|
|
#define TOOLDIR_BASE_PREFIX "/usr/libexec/"
|
|
#define MD_EXEC_PREFIX "/usr/libexec/"
|
|
|
|
/* Under FreeBSD, the normal location of the various *crt*.o files is the
|
|
/usr/lib directory. */
|
|
|
|
#undef STANDARD_STARTFILE_PREFIX
|
|
#define STANDARD_STARTFILE_PREFIX "/usr/lib/"
|
|
|
|
/* FreeBSD is 4.4BSD derived */
|
|
#define bsd4_4
|
|
|
|
/* Tell gcc to locate libgcc.a for us according to the -m rules. */
|
|
#undef LIBGCC_SPEC
|
|
#define LIBGCC_SPEC \
|
|
"%{!shared:%{!pthread:%{!kthread:libgcc.a%s}}%{pthread|kthread:libgcc_r.a%s}}"
|