[cfe-dev] getting even more started

Dave Yost Dave at Yost.com
Thu Aug 19 16:44:32 PDT 2010


I haven't gotten any response to the below.

Attached is an improved version of my shell script that builds and installs from the trunk.

It obsoletes the step-by-step Getting Started instructions and also serves as an easy way to keep up with the trunk.

Dave

At 9:11 PM -0500 2010-07-26, I wrote:
>At 3:51 PM -0700 2010-07-26, Chris Lattner wrote:
>>On Jul 25, 2010, at 8:40 PM, Dave Yost wrote:
>>>Regarding downloading, building, and installing llvm and clang, these pages
>>>   http://llvm.org/docs/GettingStarted.html#quickstart
>>>   http://clang.llvm.org/get_started.html
>>>have a lot of English text that a user has to translate correctly
>>>into shell commands.
>>>
>>>I think a shell script is preferable to manual-labor instructions.
>>>Like instructions for manual labor, a script can be human readable,
>>>but a script is also unambiguous and clear, not to mention that it
>>>is directly usable, without mistakes in translation from prose to
>>>shell commands.
>>>
>>>For many users the script will be all they need, and if not, it
>>>makes a great starting point for customization. The attached script
>>>is what I used. I offer it to you.
>>
>>Great!  Please send it to cfe-dev :)
>
>...
>
>Some more notes about installation
>
>1. The instructions don't say to do
>     gmake install
>
>2. For me, gmake install created these with restrictive permissions:
>     /usr/local/docs
>     /usr/local/include/llvm*
>     /usr/local/include/clang*
>
>3. gmake uninstall did not remove [updated since originally posted]
>     /usr/local/bin/llvm-config
>     /usr/local/include/clang/
>     /usr/local/include/clang-c/
>     /usr/local/include/llvm/
>     /usr/local/include/llvm-c/
>     /usr/local/lib/clang/
>
>Dave



More information about the cfe-dev mailing list