[fpc-pascal] Newbie question#1

Marco van de Voort marcov at stack.nl
Sat Feb 11 12:55:59 CET 2006


> When I try to compile my program with:
> fpc myfile.p
> 
> This produces no errors and myfile.o appears in my home directory.   
> However, there is no executable file (a.out).  Am I doing something  
> wrong?

a.out is an ancient unix fileformat, that is still abused as default name in
gcc. (even though gcc generates ELF since at least 1996)

What other files are generated

- If it is a main program, "myfile" should have been created in addition. Run it.
- if it is a unit (library) "myfile.ppu" should have been generated.



More information about the fpc-pascal mailing list