Recent

Author Topic: From Windows to Linux  (Read 3774 times)

TLabs-Peti

  • New Member
  • *
  • Posts: 14
From Windows to Linux
« on: March 28, 2013, 04:20:43 pm »
Hi!
(Sorry for my english it's not my native langague)

So my problem is that, I wrote a program in lazarus on Win32.
Now I want to use it on linux.
The lazarus open it whithout any problem, but when I try to compile it gives the following message:
Code: [Select]
fcllaz.pas(0,0) Fatal: Can not find unit system used by fcllaz
Can anyone help me, that how could I solve it?
Thanks!

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: From Windows to Linux
« Reply #1 on: March 28, 2013, 05:55:18 pm »
Please read "cross compiling" article in the wiki, and search the forum for another sight.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: From Windows to Linux
« Reply #2 on: March 28, 2013, 06:45:26 pm »
Please read "cross compiling" article in the wiki, and search the forum for another sight.

Is the message about cross compiling?
I recommend compiling with native compiler in Linux itself, using a virtual machine if needed.

Juha
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: From Windows to Linux
« Reply #3 on: March 29, 2013, 02:24:44 am »
Quote
Is the message about cross compiling?
Implicitly, looking at what the OP has done (expecting you can compile for another platform right from current IDE just by changing target platform/OS)..

TLabs-Peti

  • New Member
  • *
  • Posts: 14
Re: From Windows to Linux
« Reply #4 on: April 04, 2013, 05:41:20 pm »
Thanks for the purpose of help! (To whom it may concern.)

The problem was that, I didn't changed in the options of my program, that which operating system should the compailer use.
I changed from Win32 to default so the lazarus compaile it to linux. It works good.

And sorry if I not describe my problem enough punctually.

And sory again for my english.

 

TinyPortal © 2005-2018