[fpc-pascal] Re: Object Files

Flávio Etrusco flavio.etrusco at gmail.com
Mon Jul 18 19:26:13 CEST 2011


On Mon, Jul 18, 2011 at 2:07 PM, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
>> Are object files platform dependent?
>
> No

>From the rest of your post I guess you mean "yes, they are dependent"?


>
>> Something tells me they ARE platform independent since they have to be
>> linked in.
>
> Pardon me? That seems unrelated. Object files are basically executables with
> external symbols unresolved and no starting point, do you think executables
> platform independent?
>

He's asking exactly this. If there was no difference in calling
conventions and every access to the OS was through the RTL it could be
cross-platform in this sense (since he's changing the OS but not the
processor/architecture).

-Flávio



More information about the fpc-pascal mailing list