Initial revision
[official-gcc.git] / gcc / config / mips / cross64.h
blobfcbb16f34b3013fd0c85415d7564f326224a68a8
1 /* Configuration for an Irix 5 host and Irix 6 target using SGI's cross64
2 package. */
4 #include "mips/iris6.h"
6 #define STANDARD_INCLUDE_DIR "/usr/cross64/usr/include"
7 #undef MD_EXEC_PREFIX
8 #define MD_EXEC_PREFIX "/usr/cross64/usr/bin/"
9 #undef MD_STARTFILE_PREFIX
10 #define MD_STARTFILE_PREFIX "/usr/cross64/usr/lib/lib64/"
12 /* Must add TOOLROOT to the environment, or else the assembler will not
13 work. */
14 #define INIT_ENVIRONMENT \
15 "TOOLROOT=/usr/cross64"
17 #undef STARTFILE_SPEC
18 #define STARTFILE_SPEC \
19 "%{mips1:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}} \
20 %{mips2:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}} \
21 %{!mips1:%{!mips2:%{pg:/usr/cross64/usr/lib64/mips4/gcrt1.o} \
22 %{!pg:%{p:/usr/cross64/usr/lib64/mips4/mcrt1.o \
23 /usr/cross64/usr/lib64/mips4/libprof1.a} \
24 %{!p:/usr/cross64/usr/lib64/mips4/crt1.o}}}}"
26 #undef ENDFILE_SPEC
27 #define ENDFILE_SPEC \
28 "%{mips1:crtn.o%s}%{mips2:crtn.o%s}%{!mips1:%{!mips2:/usr/cross64/usr/lib64/mips4/crtn.o}}"
30 #undef LINK_SPEC
31 #define LINK_SPEC "\
32 -64 -_SYSTYPE_SVR4 %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} \
33 %{bestGnum} %{shared} %{non_shared} \
34 %{call_shared} %{no_archive} %{exact_version} \
35 %{!shared: %{!non_shared: %{!call_shared: -call_shared -no_unresolved}}} \
36 %{!mips1:%{!mips2:-L/usr/cross64/usr/lib64/mips4 -L/usr/cross64/usr/lib64}}"