[cfe-dev] Makefile.config and ./configure
Jonathan Roelofs via cfe-dev
cfe-dev at lists.llvm.org
Thu Nov 12 17:29:30 PST 2015
On 11/12/15 5:45 PM, Omid Ghenatnevi via cfe-dev wrote:
> I've made a separate build directory as follows
>
> build
> - release
>
>
> and in release the file Makefile.config is missing. I believe this is
> because I need to run ./configure from the source tree directory which
> is another directory called LLVM.
>
> the problem is when I run ./configure I get the message:
>
> configure: error: In-source builds are not allowed. Please configure
> from a separate build directory
>
> Any help would be appreciated
lay out your directories like this:
llvm
src
...
lib
...
configure
build
Then do:
$ cd build
$ ../llvm/configure
(It's also *highly* recommended that you use the CMake build rather than
the Autotools build, as the former was just deprecated)
Jon
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the cfe-dev
mailing list