Recent

Author Topic: XCode 5 - Using Apple LLVM compiler  (Read 17826 times)

momor

  • Newbie
  • Posts: 4
Re: XCode 5 - Using Apple LLVM compiler
« Reply #15 on: August 20, 2014, 10:23:00 pm »
So I've tried this -no-integrated-as flag, it effectively allows the FPC code to compile ; but unfortunately this is incompatible with the Objective-C compiled code, which I'm using to wrap my FPC code.

This flag is even incompatible with the default iOS OpenGL Xcode template under Xcode 5.1, throwing a bunch of build errors like this:

:']' expected -- `vld1.64 {d12,d13},[r4:128]'
clang: error: assembler command failed with exit code 1 (use -v to see invocation)

Did I miss something, or am I screwed ?  %)

Daniello

  • Jr. Member
  • **
  • Posts: 64
Re: XCode 5 - Using Apple LLVM compiler
« Reply #16 on: August 20, 2014, 11:01:13 pm »
I'm mixing pascal and objective-C code using that flag and it works, strange...

Do you know that you can specify that flag per file instead of globally though?
I dont remember now where, but google it, how to define clang flags per file, should solve your problem (I might even be using that solution, I really don't remember now)

momor

  • Newbie
  • Posts: 4
Re: XCode 5 - Using Apple LLVM compiler
« Reply #17 on: August 21, 2014, 07:15:14 am »
Yep Jonas told me that also, and IT WORKS !!!
Thanks for your help.

 

TinyPortal © 2005-2018