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 "/Development/bin/ld"
16 #define STRIP_NAME "/Development/bin/strip"
17 #define NM_NAME "/Development/bin/nm"
18 #define OBJDUMP_NAME "/Development/bin/objdump"
21 #define LD_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-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"
63 #define OBJECT_FORMAT "-marmelf_aros"
65 #ifdef TARGET_CPU_sparc
66 #define OBJECT_FORMAT "-melf_sparc"
69 #error Unknown object format for your target CPU