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

Emil Mikulic emil at cs.rmit.edu.au
Tue Sep 18 22:37:48 PDT 2007


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`

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



More information about the llvm-dev mailing list