Hello free pascal compiler developers,
Problem: On OSX the x86_64-darwin compiler "ppcx64" is not being built.
Background: I am in the process of writing a series of installers/scripts for Free Pascal 3.0 and Lazarus 1.4 testing. I'm currently writing a unified OSX install script which automates installing up these items on a fresh copy of OSX.
Details: The problem I am having is that even on a 64bit Mac, the "make all" command builds i386-darwin. When I try to "make crossinstall OS_TARGET=darwin CPU_TARGET=x86_64
INSTALL_PREFIX=/Users/macuser/Development/Base/fpc" the make command returns success, but no ppcx64 is ever created.
When I write a simple test program such as below and compile with "fpc hello.pas", the output is 'SizeOf(Pointer) = 4'
program hello;
begin
WriteLn('SizeOf(Pointer) = ', SizeOf(Pointer));
end.When I compile with 'fpc -Px86_64 hello.pas' i get the error:
Fatal: Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode /bin/sh: x86_64-darwin-as: command
not found
Which tells fpc fell back to the 2.6.4 complier instead of my new 3.0.1 compiler because it couldn't find ppcx64 in my
'/Users/macuser/Development/Base/fpc/bin' folder. In fact, no ppcx64 is being is the out of my make crossinstall command: http://pastebin.com/yBJL4mQi
And when I type "find /Users/macuser/Development/Base/fpc name=ppcx64", no result is found.
