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