Makefile on the master branch
PICCA Frédéric-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Sun Nov 21 07:54:27 UTC 2010
> I added make.lip.sample in the git. Strange he wasn't in the directory !
thanks a lot.
now the next part ;)
picca at mordor:~/Projets/lisaac/compiler$ make all
gcc -O2 bin/lisaac.c -o bin/lisaac -lm -fomit-frame-pointer
cd bin && ./lisaac ../src/make.lip -shorter -boost
File `/usr/local/share/lisaac/make.lip' not found ! (see `*.lip')
when building with the make all, the path.h generated in /bin provides a /usr/local/share/lisaac path.
so during the build proccess of shorter,
bin/shorter: bin/lisaac make.lip bin/path.h
cd bin && ./lisaac ../src/make.lip -shorter -boost
lisaac look for the lib installed into (/usr/local/share/lisaac) and not the one from the repository.
If I remember correctly it was possible to avoid this by exporting the
export LISAAC_DIRECTORY=$(shell pwd) at the begining of the makefile.
Now what is the purpose of the path.h target which generate the src/path.h file ?
after adding the LISAAC_DIRECTORY I got this error
picca at mordor:~/Projets/lisaac/compiler$ make all
cd bin && ./lisaac ../src/make.lip -shorter -boost
--WARNING----------
Incorrect directory `/home/picca/Projets/lisaac/compiler/lib/extra/'.
Line 88 column 18 in /home/picca/Projets/lisaac/compiler/make.lip(/home/picca/Projets/lisaac/compiler/make.lip):
path lib_extra;
^
--WARNING----------
Incorrect directory `/home/picca/Projets/lisaac/compiler/lib/unstable/'.
Line 89 column 21 in /home/picca/Projets/lisaac/compiler/make.lip(/home/picca/Projets/lisaac/compiler/make.lip):
path lib_unstable;
^
ERROR: `-lm' library for GCC not found.
????
I do not know about those errors.
See you
Fred
PS: I attached the trivial fix ;) to apply it
save it in the root of lisaac/compiler and do git am 0001-...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-set-the-LISAAC_DIRECTORY-for-the-local-build.patch
Type: text/x-diff
Size: 613 bytes
Desc: 0001-set-the-LISAAC_DIRECTORY-for-the-local-build.patch
URL: <http://lists.alioth.debian.org/pipermail/lisaac-devel/attachments/20101121/31d11fa9/attachment.patch>
More information about the Lisaac-devel
mailing list