Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

32-bit MSDOS (Announce)

posted by marcov, 04.07.2021, 22:59

> # Without "-s", this produces an executable (but can be ignored)
> # With "-s" this produces crap (which can be deleted)
> # I choose to delete crap
> .pas.o:
> fpc -a -s $<
> rm -fr link*.res
> rm -fr ppas.bat
> $(AS) -o $@ $*.s
> rm -f $*.s


Word of advise, FPC has no C compatible build mode so makefiles are hard.

IOW if a source file passed to FPC references another module that needs recompilation, the compiler will automatically recursively compile it.

This can't be disabled. Going in this direction will make multi module Pascal programs difficult.

 

Complete thread:

Back to the forum
Board view  Mix view
22760 Postings in 2121 Threads, 402 registered users (2 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum