a4cd5630b0
non-i386, non-unix, and generatable files have been trimmed, but can easily be added in later if needed. gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's handy to have both available for reference for such little cost. The freebsd-specific changes will then be committed, and once the dust has settled, the bmakefiles will be committed to use this code.
21 lines
549 B
C
21 lines
549 B
C
/* Configuration for an i386 running GNU with ELF as the target machine. */
|
|
|
|
/* This does it mostly for us. */
|
|
#include <i386/linux.h>
|
|
|
|
#undef CPP_PREDEFINES
|
|
#define CPP_PREDEFINES GNU_CPP_PREDEFINES("i386")
|
|
|
|
#undef LINK_SPEC
|
|
#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
|
|
%{!shared: \
|
|
%{!ibcs: \
|
|
%{!static: \
|
|
%{rdynamic:-export-dynamic} \
|
|
%{!dynamic-linker:-dynamic-linker /lib/ld.so} \
|
|
%{!rpath:-rpath /lib/}} %{static:-static}}}"
|
|
|
|
|
|
/* Get machine-independent configuration parameters for the GNU system. */
|
|
#include <gnu.h>
|