1999-08-27 23:37:10 +00:00
|
|
|
/* $FreeBSD$ */
|
1999-04-28 18:48:08 +00:00
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
|
2001-03-02 02:56:59 +00:00
|
|
|
#define FREEBSD_NATIVE 1
|
|
|
|
|
1999-12-22 05:00:28 +00:00
|
|
|
#undef SYSTEM_INCLUDE_DIR /* We don't need one for now. */
|
|
|
|
#undef TOOL_INCLUDE_DIR /* We don't need one for now. */
|
|
|
|
#undef LOCAL_INCLUDE_DIR /* We don't wish to support one. */
|
1999-04-28 18:48:08 +00:00
|
|
|
|
1999-12-22 05:00:28 +00:00
|
|
|
/* Look for the include files in the system-defined places. */
|
1999-12-29 14:42:46 +00:00
|
|
|
#define GPLUSPLUS_INCLUDE_DIR PREFIX"/include/g++"
|
|
|
|
#define GCC_INCLUDE_DIR PREFIX"/include"
|
|
|
|
#ifdef CROSS_COMPILE
|
|
|
|
#define CROSS_INCLUDE_DIR PREFIX"/include"
|
2002-02-20 19:41:54 +00:00
|
|
|
#else
|
|
|
|
#define STANDARD_INCLUDE_DIR PREFIX"/include"
|
1999-12-29 14:42:46 +00:00
|
|
|
#endif
|
1999-04-28 18:48:08 +00:00
|
|
|
|
|
|
|
/* Under FreeBSD, the normal location of the compiler back ends is the
|
1999-12-22 05:00:28 +00:00
|
|
|
/usr/libexec directory.
|
|
|
|
|
|
|
|
``cc --print-search-dirs'' gives:
|
|
|
|
install: STANDARD_EXEC_PREFIX/(null)
|
2002-02-20 03:10:54 +00:00
|
|
|
programs: /usr/libexec/<OBJFORMAT>/:STANDARD_EXEC_PREFIX:MD_EXEC_PREFIX
|
1999-12-22 05:00:28 +00:00
|
|
|
libraries: MD_EXEC_PREFIX:MD_STARTFILE_PREFIX:STANDARD_STARTFILE_PREFIX
|
2002-02-20 03:10:54 +00:00
|
|
|
*/
|
2002-02-20 03:57:21 +00:00
|
|
|
#undef TOOLDIR_BASE_PREFIX /* Old?? This is not documented. */
|
1999-12-29 14:42:46 +00:00
|
|
|
#define STANDARD_EXEC_PREFIX PREFIX"/libexec/"
|
2002-04-04 19:36:33 +00:00
|
|
|
#undef MD_EXEC_PREFIX /* We don't want one. */
|
1999-04-28 18:48:08 +00:00
|
|
|
|
|
|
|
/* Under FreeBSD, the normal location of the various *crt*.o files is the
|
|
|
|
/usr/lib directory. */
|
|
|
|
|
1999-12-29 14:42:46 +00:00
|
|
|
#define STANDARD_STARTFILE_PREFIX PREFIX"/lib/"
|
2002-02-20 19:41:54 +00:00
|
|
|
#ifdef CROSS_COMPILE
|
|
|
|
#define CROSS_STARTFILE_PREFIX PREFIX"/lib/"
|
|
|
|
#endif
|
2002-04-04 19:36:33 +00:00
|
|
|
#undef MD_STARTFILE_PREFIX /* We don't need one for now. */
|
1999-04-28 18:48:08 +00:00
|
|
|
|
2002-02-24 06:05:22 +00:00
|
|
|
/* For the native system compiler, we actually build libgcc in a profiled
|
|
|
|
version. So we should use it with -pg. */
|
2002-05-01 19:19:22 +00:00
|
|
|
#define LIBGCC_SPEC "%{!pg: -lgcc} %{pg: -lgcc_p}"
|
|
|
|
#define LIBSTDCXX_PROFILE "-lstdc++_p"
|
|
|
|
#define MATH_LIBRARY_PROFILE "-lm_p"
|
2002-02-24 06:05:22 +00:00
|
|
|
|
1999-04-28 18:48:08 +00:00
|
|
|
/* FreeBSD is 4.4BSD derived */
|
|
|
|
#define bsd4_4
|