[LLVMdev] Creating an LLVM Project

Martin Geisse mgeisse at gmx.net
Mon Jan 12 14:09:16 PST 2009


On Jan 12, 2009, at 10:38 PM, Dan Gohman wrote:

>>
>> 3. In "Create a Project from the Sample Project", step 6 the
>> arguments are used to "tell your project where the LLVM source/object
>> tree is located. The tutorial doesn't really give a good hint which
>> directory is meant. For example, the source is located partly in the
>> lib/ and partly in the tools/ subdirectory of the main llvm
>> directory. It might also refer to the main llvm directory, but the
>> simple fact that the source and object directories - which are both
>> within the main llvm directory -- must be specified separately
>> suggests that this is not the case. In general, it left me (and
>> probably others) clueless which path to specify.
>
> It seems pretty intuitive to people already familiar with
> autoconf-style srcdir!=objdir builds.

That has to be the reason I didn't understand it :)

> Can you sugggest a
> better wording?
>
> Thanks,
>
> Dan
>

Unfortunately, no, because I still have no clue what path has to be  
passed (I did not investigate any further because the autoconf  
version conflict (bug 1220, pointed out by me22) prevented me from  
configuring the paths at all. I got it working with some manual  
hacking though.

Anyways, it didn't even come to my mind that this is a standard  
feature of autoconf. Maybe a hint in that direction and/or a short  
example would be helpful.

Greetings,
Martin Geisse




More information about the llvm-dev mailing list