File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1
- CC = m68k-amigaos-gcc -s
2
- CXX = m68k-amigaos-g++ -s
1
+ CC = m68k-amigaos-gcc -g
2
+ CXX = m68k-amigaos-g++ -g
3
3
CFLAGS = -Os -Wall -fomit-frame-pointer
4
4
CXXFLAGS = -Os -Wall -fomit-frame-pointer
5
5
6
6
BINS = hello-ks13 hello-ks20 hello-ks20.clib2 hello-stdio hello-stdio.clib2 \
7
- hello-iostream hello-mui test-mmu \
7
+ hello-stdio.nix13 hello- iostream hello-mui test-mmu \
8
8
simple.library simple.library_r simple.device
9
9
10
10
all : $(BINS ) $(OBJS )
11
11
12
12
hello-ks13 : hello-ks13.c
13
- $(CC ) -noixemul -fbaserel -m68000 -msmall-code $(CFLAGS ) -o $@ $< -lnix13
13
+ $(CC ) -mcrt=nix13 -fbaserel -m68000 -msmall-code $(CFLAGS ) -o $@ $<
14
14
15
15
hello-ks20 : hello-ks20.c
16
16
$(CC ) -noixemul -fbaserel32 -m68020 -msmall-code $(CFLAGS ) -o $@ $<
@@ -21,6 +21,9 @@ hello-ks20.clib2: hello-ks20.c
21
21
hello-stdio : hello-stdio.c
22
22
$(CC ) -noixemul -m68020 $(CFLAGS ) -o $@ $<
23
23
24
+ hello-stdio.nix13 : hello-stdio-ks13.c
25
+ $(CC ) -mcrt=nix13 -m68000 $(CFLAGS ) -o $@ $<
26
+
24
27
hello-stdio.clib2 : hello-stdio.c
25
28
$(CC ) -mcrt=clib2 -m68020 $(CFLAGS ) -o $@ $<
26
29
Original file line number Diff line number Diff line change
1
+ #include <stdio.h>
2
+
3
+ int __nocommandline = 1 ;
4
+ int __oslibversion = 34 ;
5
+
6
+ int main ()
7
+ {
8
+ printf ("hello world!\n" );
9
+ return 0 ;
10
+ }
You can’t perform that action at this time.
0 commit comments