mdnfiras
mdnfiras

Reputation: 959

How to do multi platform compiling with fpc?

How to generate an ios or android executable after compiling with free pacal on windows using command line?

I usually do this to compile files :

C:/fpc/path/to/compiler.exe C:/path/to/file.pas

But that command will just create a windows executable.

Upvotes: 1

Views: 79

Answers (1)

Elias Garcia
Elias Garcia

Reputation: 7282

Here you have a good Android tutorial on how to set-up Android SDK and how to compile an example app using Lazarus IDE: Free Pascal - Android Tutorial

Also you have it for iPhone: Free Pascal - iOs Tutorial

Upvotes: 1

Related Questions