Recent

Author Topic: Lazarus Cross?  (Read 12452 times)

jack_

  • New Member
  • *
  • Posts: 23
  • Poland
Re: Lazarus Cross?
« Reply #15 on: September 03, 2012, 12:16:24 pm »
I'm using always 64-bit systems - I don't have nothing 32-bit around to test it.

You can get faster and better answer on CodeTyphon forum.

By the way.
If you set on project options target OS Win64 and CPU on x86_64 does it compile without errors ?
When you click Build [or Shift+F9] the Lazarus should build in that time all cross elements he needs.

That's how it looks on my installation.

Dibo

  • Hero Member
  • *****
  • Posts: 1057
Re: Lazarus Cross?
« Reply #16 on: September 03, 2012, 12:16:58 pm »
I have CodeTyphon 2.80 installed on 64 bit linux and can easily compile to 32 bit linux and 32/64 bit windows with one click. You must just create cross-compile element in CodeTyphon Center

stocki

  • Full Member
  • ***
  • Posts: 144
Re: Lazarus Cross?
« Reply #17 on: September 03, 2012, 12:23:10 pm »
If you set on project options target OS Win64 and CPU on x86_64 does it compile without errors ?
When you click Build [or Shift+F9] the Lazarus should build in that time all cross elements he needs.
No, because I have no FPC x86_64 -Win64 element.  See my post above.

stocki

  • Full Member
  • ***
  • Posts: 144
Re: Lazarus Cross?
« Reply #18 on: September 03, 2012, 12:26:32 pm »
I have CodeTyphon 2.80 installed on 64 bit linux and can easily compile to 32 bit linux and 32/64 bit windows with one click. You must just create cross-compile element in CodeTyphon Center

My system is Win32 on 64 bit AMD CPU.

I have e.g. a FPC x86_64-linx element. When I try to compile a Lazarus project with target Linux
I get i386-linux-ld.exe: cannot find -ldl error
The mentioned linker file is there!

Dibo

  • Hero Member
  • *****
  • Posts: 1057
Re: Lazarus Cross?
« Reply #19 on: September 03, 2012, 12:34:24 pm »
Have you CodeTyphon 2.80 or 2.70? I saw that 2.80 has some fixes for linkers.
Do you remember change Target OS and CPU in project options?

stocki

  • Full Member
  • ***
  • Posts: 144
Re: Lazarus Cross?
« Reply #20 on: September 03, 2012, 12:51:02 pm »
-2.8
-yes, i did the change.

I have to switch to CodeTyphon forum.

Thanks!

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Lazarus Cross?
« Reply #21 on: September 06, 2012, 10:18:00 pm »
FPCup currently has a working Win32->Win64 cross compiler module, ...
I think that you cannot compile from 32-bit system to 64-bit.
???   :P
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Lazarus Cross?
« Reply #22 on: September 07, 2012, 09:16:02 am »
FPCup currently has a working Win32->Win64 cross compiler module, ...
I think that you cannot compile from 32-bit system to 64-bit.
???   :P
Neither do I....
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018