[LLVMdev] 2.1 Pre-Release Available (testers needed)

Tanya Lattner tonic at nondot.org
Tue Sep 18 23:04:32 PDT 2007


On Sep 18, 2007, at 10:37 PM, Emil Mikulic wrote:

> On Tue, Sep 18, 2007 at 10:32:54PM -0700, Tanya Lattner wrote:
>> On Sep 18, 2007, at 10:14 PM, Emil Mikulic wrote:
>>> llvm-gcc4.0-2.1.source/README.LLVM makes no mention of
>>> passing --program-prefix=llvm- to configure.
>>
>> Well, it does in trunk. I just forgot to merge it over. Thanks for
>> the reminder ;)
>> http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/README.LLVM?
>> revision=41976&view=markup
>
> Neat!  Thanks, Tanya!
>
> Another thing: is the default build supposed to be a Release build?
> To get a Debug build, I had to pass --disable-optimized to configure.
> This wasn't immediately obvious from `./configure --help`
>

Yes it is. I'm not a configure expert, but I will look into how we  
can make this more obvious. I know we mention it in the documentation  
but honestly.. its hard to find.

-Tanya

> e.g.:
>
> $ ./configure
> $ gmake
> gmake[1]: Entering directory `/home/emil/two/llvm-2.1/lib/System'
> llvm[1]: Compiling Alarm.cpp for Release build
> llvm[1]: Compiling Disassembler.cpp for Release build
> llvm[1]: Compiling DynamicLibrary.cpp for Release build
> ^C
>
> $ ./configure --disable-optimized
> $ gmake
> gmake[1]: Entering directory `/home/emil/two/llvm-2.1/lib/System'
> llvm[1]: Compiling Alarm.cpp for Debug build
> llvm[1]: Compiling Disassembler.cpp for Debug build
> llvm[1]: Compiling DynamicLibrary.cpp for Debug build
> ^C
>
> --Emil
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list