FPC 3.0 using clang for cross compile

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

FPC 3.0 using clang for cross compile

Torsten Bonde Christiansen
Hi List.

I just recently tried to update the build system for our products in order to use fpc 3.0, but found
that when i try to make the cross-compiler for Mac OS, it reports an error on missing:

/home/epidata/FreePascal/release_3_0_0/compiler/ppcross386 -dNOMOUSE -Ur -dFPC_USE_LIBC -Tdarwin -Pi386 -XPi686-apple-darwin10- -Xr -XX -CX -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../darwin/i386 -FE. -FU/home/epidata/FreePascal/release_3_0_0/rtl/units/i386-darwin -O2 -XX -CX -Xs -Xd -Fl/usr/lib/apple/SDKs/MacOSX10.5.sdk/usr/lib -di386 -dRELEASE -Us -Sg ../bsd/system.pp
system.inc(1824,8) Warning: Implicit string type conversion from "RawByteString" to "UnicodeString"
system.pp(361) Error: Assembler i686-apple-darwin10-clang not found, switching to external assembling
system.pp(361) Fatal: There were 1 errors compiling module, stopping

Is there a reason why fpc needs the llvm for cross compiling (I'm building agains OSX 10.5) - it was not
need for fpc 2.6.4...

In case it is needed, have anyone successfully made a cross compiler from Linux 64-bit to Mac OS?

Kind regards,
Torsten.

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: FPC 3.0 using clang for cross compile

Jonas Maebe-2
Torsten Bonde Christiansen wrote:
> Is there a reason why fpc needs the llvm for cross compiling (I'm
> building agains OSX 10.5) - it was not need for fpc 2.6.4...

http://wiki.freepascal.org/User_Changes_3.0#Default_assembler_for_Darwin.2Fi386.2Fx86_64.2FARM_and_iPhoneSimulator.2Fi386.2Fx86_64


Jonas
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: FPC 3.0 using clang for cross compile

Torsten Bonde Christiansen
On 2016-06-14 15:34, Jonas Maebe wrote:
> Torsten Bonde Christiansen wrote:
>> Is there a reason why fpc needs the llvm for cross compiling (I'm
>> building agains OSX 10.5) - it was not need for fpc 2.6.4...
> http://wiki.freepascal.org/User_Changes_3.0#Default_assembler_for_Darwin.2Fi386.2Fx86_64.2FARM_and_iPhoneSimulator.2Fi386.2Fx86_64
>
Thanks - i really should start to read better up on those change notes
in future releases ;)

-Torsten.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal