Mail Archives: djgpp/1996/07/14/19:32:26
> > Could you post the compile and link tricks you used to get a DOS executable
> > down to 38k? Thanks
> Gee, some people really worry about this dont they... :)
> Sure, I will get my stuff uploaded from home this afternoon and post it...
> Then I can get lots of flack on my programming... ;)
Ok, here is the makefile that I use...it should give about the same code
size - even for a simple hello world... :)
all: vbe.exe
vbe.exe : vbe.o
gcc -s vbe.o -o vbe.exe
vbe.o : vbe.c
gcc -m486 -c -O2 -g -Wall vbe.c
clean :
del *.o
del *.exe
Leathal.
- Raw text -