Recent

Author Topic: Question About Compiling on Mac OSX  (Read 8083 times)

SpaceCadet

  • Guest
Question About Compiling on Mac OSX
« on: December 19, 2005, 07:51:44 pm »
Hi,

I just want to say I really love the job you guys are doing with Lazarus. It is almost tempting to give up Delphi for this, which i will soon. I develop programs in Delphi and i have released a freeware program written with Delphi and would like to switch over to Lazarus. Pretty frustrated with the newer version with Delphi bu that's a different story...

Now, my question... :)  I read on wikipedia that if someone were to write code on Windows with Lazarus and they take the code on Mac machine to compile, it wouldn't compile. Is this true? Because i had the impression that Lazarus supports the idea of "write once and compile anywhere" philosphy.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Question About Compiling on Mac OSX
« Reply #1 on: December 19, 2005, 09:06:14 pm »
Can you give a link where you read that?

Maybe you have to change some settings. Maybe if you use not only LCL, but also some winapi to write your application.

Anonymous

  • Guest
Question About Compiling on Mac OSX
« Reply #2 on: December 20, 2005, 04:29:09 am »
http://en.wikipedia.org/wiki/Lazarus_%28software%29

Compiling from Mac OS X to Windows, Linux and FreeBSD is possible, but not yet the other way around due to binutils issues.

Anonymous

  • Guest
Question About Compiling on Mac OSX
« Reply #3 on: December 20, 2005, 08:11:56 am »
This is about cross compiling, i.e. compiling a macosx application on a windows computer.

Copying the source from windows / linux to macosx and compile on macosx is possible.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Question About Compiling on Mac OSX
« Reply #4 on: December 21, 2005, 10:04:21 am »
Just a note, Andrew Haines recently reported that he succeeded to crosscompile a macOSX binary on linux (or was it win32)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018