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"
19 #define ELFEDIT_NAME "/Development/bin/elfedit"
22 #define LD_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-ld"
23 #define STRIP_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-strip"
24 #define NM_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-nm"
25 #define OBJDUMP_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-objdump"
26 #define ELFEDIT_NAME "@AROS_CROSSTOOLSDIR@/@aros_target_cpu@-aros-elfedit"
29 #define LD_NAME "@aros_target_cpu@-aros-ld"
30 #define STRIP_NAME "@aros_target_cpu@-aros-strip"
31 #define NM_NAME "@aros_target_cpu@-aros-nm"
32 #define OBJDUMP_NAME "@aros_target_cpu@-aros-objdump"
33 #define ELFEDIT_NAME "@aros_target_cpu@-aros-elfedit"
37 /* The following lines will be patched by AROS-SDK-Install */
38 #define LD_NAME "@orig_target_ld@"
39 #define STRIP_NAME "@aros_target_strip@"
40 #define NM_NAME "@aros_target_nm@"
41 #define OBJDUMP_NAME "@aros_target_objdump@"
42 #define ELFEDIT_NAME "@aros_target_elfedit@"
45 #define TARGET_CPU_@aros_target_cpu@
48 * Having these conditions here helps to bootstrap a crosscompiler.
49 * You don't have to look up a value in configure script any more.
51 #ifdef TARGET_CPU_m68k
52 #define OBJECT_FORMAT "-mm68kelf"
55 #define OBJECT_FORMAT "-melf32ppc"
57 #ifdef TARGET_CPU_i386
58 #define OBJECT_FORMAT "-melf_i386"
60 #ifdef TARGET_CPU_x86_64
61 #define OBJECT_FORMAT "-melf_x86_64"
64 #define OBJECT_FORMAT "-marmelf_linux_eabi"
66 #ifdef TARGET_CPU_sparc
67 #define OBJECT_FORMAT "-melf_sparc"
70 #error Unknown object format for your target CPU