How to compile a pascal object file with a .o extension
Hi. I have been trying to compile a pascal file using fpc. I succeeded using the command fpc pas1.pas, but this gave me a new object file pas1.o. How do i compile this file to get my output. gcc -o pas1.o does not work. Thanks.
|
If fpc creates a .o file then you have compiled a unit and not a program what is the contents of pas1.pas. Assuming you added the correct paths to your environment.
|
hmmmmmm
The pas1.pas file contains a simple 4 statement program to print 'Hello World' So, how do I compile the program?
|
All times are GMT -5. The time now is 08:47 PM. |