diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 1999-04-28 18:48:08 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-04-28 18:48:08 +0000 |
| commit | e53bca4f44e191fe70aa7570588693c86e57296d (patch) | |
| tree | 11aa7e47060b02ba2a76bfe5035b7fdaaf1013c1 /gnu | |
| parent | 9ade6e676bed0ff73945d23f1841ea997ba3597f (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 3 | ||||
| -rw-r--r-- | gnu/usr.bin/cc/cc_tools/freebsd-native.h | 40 |
2 files changed, 42 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 01be44543de7..721e19bdf737 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.30 1999/04/22 19:35:16 obrien Exp $ +# $Id: Makefile,v 1.31 1999/04/22 20:12:21 obrien Exp $ # # @@ -159,6 +159,7 @@ tm.h: .if ${GCC_ARCH} == "i386" echo '#include "${GCC_ARCH}/perform.h"' >> ${.TARGET} .endif + echo '#include <freebsd-native.h>' >> ${.TARGET} #----------------------------------------------------------------------- # General things. diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h new file mode 100644 index 000000000000..6f5cc8f76560 --- /dev/null +++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h @@ -0,0 +1,40 @@ +/* $Id: freebsd.h,v 1.8 1999/04/22 17:45:01 obrien Exp $ */ + +/* 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 |
