Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-07

..installing XCode ...make sure not to deselect UNIX development support - TOO LATE

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Paul McCombie

- I had already installed XCode 4.3 on my Mac before attempting to install fpc, and had deselected UNIX development support.

I have attempted to completely remove 4.3 and installed 4.2. fpc appeared to install OK, and the firemonkey installation which I wanted it for. I have transferred a firemonkey project to my mac, but when I open it the pas files are not recognised, and selecting one results in a 'no editor' message. So I presume that fpc has not installed correectly, despite the 'installation successful' message.

I have installed 4.3, and the command line tools, but that leaves me in the same situation. I have never seen the 'deselect UNIX' option again, despite removing bot 4.3 and 4.2.

Can anyone advise me of a way to recover this situation so that I can use fpc with xcode and firemonkey please?

Thank you!

Paul.

Jonas Maebe
to Paul McCombie

Paul McCombie wrote on Sun, 08 Jul 2012:

- I had already installed XCode 4.3 on my Mac before attempting to install fpc, and had deselected UNIX development support.

Xcode 4.3 no longer allows you to select global support for UNIX development during the installation, you have to do so afterwards. See http://www.freepascal.org/down/i386/macosx-netherlands.var for instructions.

Show quoted text 6 lines
I have attempted to completely remove 4.3 and installed 4.2. fpc appeared to install OK, and the firemonkey installation which I wanted it for. I have transferred a firemonkey project to my mac, but when I open it the pas files are not recognised, and selecting one results in a 'no editor' message. So I presume that fpc has not installed correectly, despite the 'installation successful' message.

FPC is a command line compiler, like Delphi's dcc.exe. If you want a Pascal IDE, install Lazarus: http://www.lazarus.freepascal.org

That said, I don't think Embarcadero supports Firemonkey development on the Mac. You are supposed to edit everything in Delphi on Windows, and then compile it on Windows in case of a Mac application (which happens using the Delphi compiler), or generate an Xcode project, transfer it to the Mac and compile it on the Mac in case of an iOS application (which happens using FPC) .

Afaik, there is no Firemonkey forms designer for Mac OS X. I also don't know how easy it is to do Firemonkey development in Lazarus.

Jonas