mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2025-11-19 22:31:22 +00:00
automate building windows setup
This commit is contained in:
10
setup/cmdline.bat
Normal file
10
setup/cmdline.bat
Normal file
@ -0,0 +1,10 @@
|
||||
@for /f %%i in ('cd') do @path %path%;%%i\bin
|
||||
|
||||
@echo *******************************************************************************
|
||||
@echo * Welcome to amiga-gcc *
|
||||
@echo *******************************************************************************
|
||||
@dir bin\*.exe /w
|
||||
|
||||
m68k-amigaos-gcc hello.c -o hello -Os -noixemul
|
||||
|
||||
@cmd /k
|
||||
6
setup/hello.c
Normal file
6
setup/hello.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
printf("hello world - with %d args\n", argc);
|
||||
return 0;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Reference in New Issue
Block a user