[LLVMdev] Building LLVM 2.5 on CENTOS 5.3
dalej at apple.com
Tue Apr 28 19:19:27 CDT 2009
On Apr 28, 2009, at 5:12 PMPDT, Sarah Thompson wrote:
> Hmm... looks like my LLVM build script only built debug versions of
> the tools, not release versions. I'm investigating, I didn't change
> anything that should have caused that.
That's the default. You need to build with ENABLE_OPTIMIZED=1 (or
configure with --enable-optimized, I think). Use VERBOSE=1 to see
what's going on.
> On Apr 28, 2009, at 4:56 PM, Bill Wendling wrote:
>> On Tue, Apr 28, 2009 at 4:43 PM, Sarah Thompson <sarah at findatlantis.com
>>> OK, that got much further, but I'm now seeing another problem which
>>> may (or may not) be related. Building my own code (my model
>>> it builds libraries fine, then within tools (I'm using a fairly
>>> standard LLVM build environment here), I am seeing the error
>>> *** llvm-config doesn't exist - rebuilding it
>>> followed by a
>>> make: Entering an unknown directory
>>> which is complaining about .../tools//bin/llvm-config
>>> This didn't happen when I was building with gcc 4.1.x, though of
>>> course, my code didn't actually work when compiled with that
>> That's odd. It's the "/bin/" in there that make is complaining about.
>> I'm not sure why a different compiler would cause it to change
>> behavior. Does adding "VERBOSE=1" to the "make" command shed any
>> on what's going wrong here?
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the LLVMdev