[LLVMdev] Size and performance figures for LLVM?
Bill Wendling
isanbard at gmail.com
Fri May 16 02:25:56 PDT 2008
On May 14, 2008, at 4:46 AM, Dominic Hamon wrote:
> Bill Wendling wrote:
>> On Tue, May 13, 2008 at 2:24 AM, Joachim Durchholz
>> <jo at durchholz.org> wrote:
>>
>>> Am Dienstag, den 13.05.2008, 00:42 -0700 schrieb Bill Wendling:
>>>
>>>> Sorry to step into this in the middle of a thread, but what
>>>> exactly is
>>>> LLVM's autoconf doing that "autoconf shouldn't do if properly set
>>>> up"?
>>>>
>>> 1) Variables like CC, CXX, CFLAGS don't work properly when
>>> submitted via
>>> the command line. The handling seems to be inconsistent, i.e. it
>>> seems
>>> that parts of the toolchain receive these flags, others don't.
>>> This is just a cosmetic problem, of course.
>>>
>>
>> Is this specifying CC, CXX, and CFLAGS during the "configure" process
>> or during the "make" process? The Makefiles seem to be using them
>> in a
>> fairly consistent manner, as far as I can see. Which parts of the
>> toolchain don't get the flags? Also, are we talking LLVM or LLVM-GCC?
>>
>>
> As an example: When running make from my own project that uses llvm
> (and
> the llvm makefiles), I am unable to add extra include paths to the
> build. It seems that they get into the makefiles ok, but not through
> to
> the compiler itself.
>
What variable are you setting? Here's what the clang project uses in
its Makefiles
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include
I *think* that specifying CPPFLAGS on the command line (like this
$ make CPPFLAGS=-I/my/own/include/dir
will replace the CPPFLAGS' initial value in the Makefiles.
-bw
More information about the llvm-dev
mailing list