Re: Xcode build settings (such as llvm-config)
Re: Xcode build settings (such as llvm-config)
- Subject: Re: Xcode build settings (such as llvm-config)
- From: Ken Thomases <email@hidden>
- Date: Wed, 7 Apr 2010 01:58:16 -0500
I have redirected this to the Xcode-users list, since that's where it belongs. This has nothing to do with Cocoa.
On Apr 7, 2010, at 12:26 AM, Samuel Williams wrote:
> I want to execute a command to get a list of libraries for inclusion into my application
>
> llvm-config --libs
>
> Gives me: -lLLVMXCoreCodeGen -lLLVMXCoreAsmPrinter -lLLVMXCoreInfo -lLLVMSystemZCodeGen -lLLVMSystemZAsmPrinter -lLLVMSystemZInfo [snip]
>
> Normally it is used such as
>
> export LDFLAGS=`llvm-config --libs`
>
> or
>
> g++ `llvm-config --libs --cflags`
>
> I tried putting this in a Run Script build phase but it didn't work. I also couldn't figure out how to put this into the Build Settings.
You've tried putting what, _exactly_, in a Run Script build phase? And in what way didn't it work? What result did you get and how did that differ from what you expected to get?
Is llvm-config in the default PATH? Note that the environment variables, including PATH, you might see in a shell in a Terminal window is not really related at all to the environment variables for a process launched from the Finder or Dock.
Regards,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden