[LLVMdev] Setting up new project

Lane Schwartz dowobeha at gmail.com
Sat Apr 12 11:29:52 PDT 2008


On Sat, Apr 12, 2008 at 1:26 PM, Lane Schwartz <dowobeha at gmail.com> wrote:
>  John,
>
>  Thanks for the advice. The script you sent gives me the same problem.
>  I am now able to work around the issue by making the following change
>  to the AutoRegen.sh script that comes with the sample project:
>
>  16,17c16,17
>  <   llvm_src_root=../../..
>  <   llvm_obj_root=../../..
>  ---
>  >   llvm_src_root=../..
>  >   llvm_obj_root=../..

Hmm... I may have spoken too soon... After making the above change to
AutoRegen.sh,

$ ./AutoRegen.sh
Regenerating aclocal.m4 with aclocal
Regenerating configure with autoconf 2.5x

$ cd ..
$ ./configure
configure: creating ./config.status
config.status: creating Makefile.common
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing lib/Makefile commands
config.status: executing lib/sample/Makefile commands
config.status: executing tools/Makefile commands
config.status: executing tools/sample/Makefile commands

$ make
../Makefile.common:22: ../../Makefile.common: No such file or directory
make[1]: *** No rule to make target `../../Makefile.common'.  Stop.
make: *** [all] Error 1


So I guess my AutoRegen.sh fix isn't so great after all...

Lane



More information about the llvm-dev mailing list