summaryrefslogtreecommitdiff
path: root/bin86-0.3/ld/config.h
blob: 173d1c4e7283d6b232f2c92ad0d877de19f0cff8 (plain)
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
/*
 *   bin86/ld/config.h
 *
 *   Copyright (C) 1992 Bruce Evans
 */

/* config.h - configuration for linker */

/* one of these target processors must be defined */

#undef  I8086			/* Intel 8086 */
#define I80386			/* Intel 80386 */
#undef  MC6809			/* Motorola 6809 */

/* one of these target operating systems must be defined */

#undef  EDOS			/* generate EDOS executable */
#define MINIX			/* generate Minix executable */

/* these may need to be defined to suit the source processor */

#define  S_ALIGNMENT 4		/* source memory alignment, power of 2 */
				/* don't use for 8 bit processors */
				/* don't use even for 80386 - overhead for */
				/* alignment cancels improved access */

/* these should be defined if they are supported by the source compiler */

#define  PROTO			/* compiler handles prototypes */

/* these must be defined to suit the source libraries */

#define CREAT_PERMS 0666	/* permissions for creat() */
#define EXEC_PERMS  0111	/* extra permissions to set for executable */