forked from Leffmann/vlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
89 lines (76 loc) · 3.3 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* $VER: vlink config.h V0.15d (05.01.16)
*
* This file is part of vlink, a portable linker for multiple
* object formats.
* Copyright (c) 1997-2017 Frank Wille
*/
#ifndef CONFIG_H
#define CONFIG_H
/* Edit the following defines for your system: */
/* Default path to search for library. Example: "/usr/lib" */
#ifdef __VBCC__
#if defined(__MORPHOS__)
#define LIBPATH "vlibmos:"
#elif defined(__amigaos4__)
#define LIBPATH "vlibos4:"
#elif defined(__AROS__)
#define LIBPATH "vlibaros:"
#elif defined(AMIGAOS)
#define LIBPATH "vlibos3:"
#endif
#endif
/* Default target file format. Example: "elf32ppcbe" */
#if defined(__MORPHOS__)
#define DEFTARGET "elf32morphos"
#elif defined(__amigaos4__)
#define DEFTARGET "elf32ppcbe"
#elif defined(__AROS__)
#define DEFTARGET "elf32aros"
#elif defined(AMIGAOS)
#define DEFTARGET "amigahunk"
#elif defined(__MINT__)
#define DEFTARGET "aoutmint"
#elif defined(atarist)
#define DEFTARGET "ataritos"
#endif
/* Targets to be included */
#define ADOS /* AmigaOS 68k hunk format */
#define EHF /* WarpOS PPC extended hunk format */
#define ATARI_TOS /* Atari-ST TOS format */
#define ELF32 /* general 32-bit ELF support */
#define ELF32_PPC_BE /* ELF PowerPC 32-Bit Big Endian */
#define ELF32_AMIGA /* ELF PPC relocatable for MorphOS/PowerUp */
#define ELF32_M68K /* ELF M68k 32-Bit Big Endian */
#define ELF32_386 /* ELF 386 32-Bit Little Endian */
#define ELF32_AROS /* ELF 386 relocatable for AROS */
#define ELF32_ARM_LE /* ELF ARM 32-Bit Little Endian */
#define ELF32_JAG /* ELF Jaguar RISC 32-Bit Big Endian */
#define ELF64 /* general 64-bit ELF support */
#define ELF64_X86 /* ELF x86_64 64-Bit Little Endian */
#define AOUT /* general a.out support */
#define AOUT_NULL /* a.out stdandard relocs, undefined endianess */
#define AOUT_SUN010 /* a.out SunOS 68000/010 */
#define AOUT_SUN020 /* a.out SunOS 68020+ */
#define AOUT_BSDM68K /* a.out NetBSD M68k (68020+) 8k Pages */
#define AOUT_BSDM68K4K /* a.out NetBSD M68k (68020+) 4k Pages */
#define AOUT_MINT /* a.out Atari MiNT 680x0, with TOS header */
#define AOUT_JAGUAR /* a.out Atari Jaguar (M68k+RISC, write-only) */
#define AOUT_BSDI386 /* a.out NetBSD i386 (486,Pentium) 4k Pages */
#define AOUT_PC386 /* a.out PC i386 (GNU MS-DOS?) */
#define RAWBIN1 /* single raw binary file */
#define RAWBIN2 /* multiple raw binary files */
#define AMSDOS /* Amstrad/Schneider CPC program */
#define CBMPRG /* Commodore PET, VIC-20, 64, etc. program */
#define JAGSRV /* Jaguar Server (SkunkBoard, VirtualJaguar) */
#define SREC19 /* Motorola S-Record 16-bit addresses */
#define SREC28 /* Motorola S-Record 24-bit addresses */
#define SREC37 /* Motorola S-Record 32-bit addresses */
#define IHEX /* Intel Hex */
#define SHEX1 /* Customer specific hex format */
#define RAWSEG /* multiple raw segment files */
#define VOBJ /* vasm special object format */
/* dependencies */
#ifdef AOUT_MINT
#define ATARI_TOS /* a.out-MiNT format needs TOS */
#endif
#endif /* CONFIG_H */