Recent

Author Topic: Programms MAC WINDOWS compatibility  (Read 13457 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Programms MAC WINDOWS compatibility
« Reply #15 on: February 02, 2014, 02:42:04 pm »
Quote
Please, can anyone tell me, where to search for gdb, or what is tha path for it?
call: which gdb

lukastrval

  • New Member
  • *
  • Posts: 17
Re: Programms MAC WINDOWS compatibility
« Reply #16 on: February 02, 2014, 05:47:55 pm »
Quote
Please, can anyone tell me, where to search for gdb, or what is tha path for it?
call: which gdb

Sorry, i didnt get what you meant  :(

jwdietrich

  • Hero Member
  • *****
  • Posts: 1274
    • formatio reticularis
Re: Programms MAC WINDOWS compatibility
« Reply #17 on: February 02, 2014, 07:08:49 pm »
Quote
Please, can anyone tell me, where to search for gdb, or what is tha path for it?
call: which gdb

Sorry, i didnt get what you meant  :(

The which command locates an executable in the file system.

Entering which gdb in a Terminal window delivers the path to the gdb (e.g. /usr/bin/gdb). Simply enter the result that is returned by your shell into the appropriate field of the Lazarus preferences window.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 4.2.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

lukastrval

  • New Member
  • *
  • Posts: 17
Re: Programms MAC WINDOWS compatibility
« Reply #18 on: February 03, 2014, 09:50:59 pm »
Thanks it worked. However this poped up when i tried to compile my project, what to do?
EDITED:
PROBLEM SOLVED - i made mistake when making cetificate in keychain access

WIKI guide works awesomly
« Last Edit: February 04, 2014, 11:42:05 pm by lukastrval »

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: Programms MAC WINDOWS compatibility
« Reply #19 on: February 04, 2014, 05:31:02 pm »
While waiting for a better answer. It seems that it is *not* possible to generate Mac applications using Windows/Linux due to legal restrictions imposed by Apple.
It seems it is - see
http://wiki.lazarus.freepascal.org/Cross_compiling_OSX_on_Linux
(though it apparently only works on older OSX and 32 bit Linux due to technical limitations)

What legal restrictions are you referring to exactly?
Sorry for not answering you promptly. I could not find the source of my confusion  :-[ (some discussion on the mailing list over a year ago). Thank you so much for rectifying my understanding and I have no idea how I missed that wiki page. Thanks again.
« Last Edit: February 04, 2014, 05:44:33 pm by engkin »

 

TinyPortal © 2005-2018