Forum > Operating Systems

Compiling lazarus applications for OpenSolaris

(1/2) > >>

motaz:
Is there any easy way to cross-compile OpenSolaris from Linux.
If not, how could I install FPC and Lazarus in OpenSolaris?

Graeme:
Simple answer.... stop trying to use cross-compilation.

Install FPC using the official console FPC installer [http://sourceforge.net/projects/freepascal/files/Solaris/]. Then if you must use Lazarus, do a source code checkout, or download the source code for the release you want and build Lazarus manually using make big ide

motaz:
I have downloaded two versions 64 and 32 bit, I get this when executing fpc in bin directory:

ppc386 can't be executed

for 64 bit:

ppcx64 can't be executed

I'm using openindiana, the is the result of uname -m

i86pc

I'm not sure of this 64 of 32 bit

Graeme:

--- Quote from: motaz on January 05, 2016, 06:53:00 am ---I have downloaded two versions 64 and 32 bit, I get this when executing fpc in bin directory:

ppc386 can't be executed

for 64 bit:

ppcx64 can't be executed

--- End quote ---
Are the ppc* files marked as executable? 

  chmod +x ppc*

motaz:
I already done that, then I get that message

Navigation

[0] Message Index

[#] Next page

Go to full version