5 * Under Windows we can't use paths provided by configure because they are UNIX-style
6 * and we don't use MSYS
15 #define LD_NAME "/Developer/bin/ld"
16 #define STRIP_NAME "/Developer/bin/strip"
17 #define NM_NAME "/Developer/bin/nm"
18 #define OBJDUMP_NAME "/Developer/bin/objdump"
21 #define LD_NAME "@aros_toolchain_ld@"
22 #define STRIP_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-strip"
23 #define NM_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-nm"
24 #define OBJDUMP_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-objdump"
27 #define LD_NAME "@aros_target_cpu@-aros-ld"
28 #define STRIP_NAME "@aros_target_cpu@-aros-strip"
29 #define NM_NAME "@aros_target_cpu@-aros-nm"
30 #define OBJDUMP_NAME "@aros_target_cpu@-aros-objdump"
34 /* The following lines will be patched by AROS-SDK-Install */
35 #define LD_NAME "@orig_target_ld@"
36 #define STRIP_NAME "@aros_target_strip@"
37 #define NM_NAME "@aros_target_nm@"
38 #define OBJDUMP_NAME "@aros_target_objdump@"
41 #define TARGET_CPU_@aros_target_cpu@
44 * Having these conditions here helps to bootstrap a crosscompiler.
45 * You don't have to look up a value in configure script any more.
47 #ifdef TARGET_CPU_m68k
48 #define OBJECT_FORMAT "-mm68kelf"
51 #define OBJECT_FORMAT "-melf32ppc"
53 #ifdef TARGET_CPU_i386
54 #define OBJECT_FORMAT "-melf_i386"
56 #ifdef TARGET_CPU_x86_64
57 #define OBJECT_FORMAT "-melf_x86_64"
59 #ifdef TARGET_CPU_aarch64
60 #define OBJECT_FORMAT "-maarch64elf_aros"
62 #if defined(TARGET_CPU_arm)
63 #define OBJECT_FORMAT "-marmelf_aros"
65 #if defined(TARGET_CPU_armeb)
66 #define OBJECT_FORMAT "-marmelfb_aros"
67 #define OBJECT_FORMAT_EXTRA_FINAL "--be8"
69 #ifdef TARGET_CPU_sparc
70 #define OBJECT_FORMAT "-melf_sparc"
73 #error Unknown object format for your target CPU
76 #undef TARGET_FORMAT_EXE
77 #if defined(TARGET_CPU_arm) || defined(TARGET_CPU_armeb)
78 #define TARGET_FORMAT_EXE