Recent

Author Topic: [SOLVED]Cross Compiling from Linux to MacOSX  (Read 2476 times)

braximo

  • Jr. Member
  • **
  • Posts: 79
[SOLVED]Cross Compiling from Linux to MacOSX
« on: June 06, 2012, 09:48:20 am »
I followed the instructions at the wiki page. Now im at the last part where i386-darwin-ld is looking at the crt1.o file. I dont know how and where to implement the -XR/<location of the sdk>. Placed it at the pass options to the linker (-XR/<location of the sdk>) but an unknown flag occurs.

Please help... thanks!
« Last Edit: June 07, 2012, 10:09:27 am by braximo »
Ubuntu 16.04 Lazarus 1.6

Leledumbo

  • Hero Member
  • *****
  • Posts: 8112
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Cross Compiling from Linux to MacOSX
« Reply #1 on: June 06, 2012, 11:11:18 am »
-XR is FPC flag, not linker flag, so put it in the "Others" box is you can't find it anywhere.

braximo

  • Jr. Member
  • **
  • Posts: 79
Re: [SOLVED]Cross Compiling from Linux to MacOSX
« Reply #2 on: June 07, 2012, 10:09:59 am »
Thanks again leledumbo...
Ubuntu 16.04 Lazarus 1.6