[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] Problem with out-of-source build
From: |
Martin Kalbfuß |
Subject: |
[Gm2] Problem with out-of-source build |
Date: |
Fri, 28 May 2010 17:08:01 +0200 |
Hi,
I try to build my project with cmake. It didn't work, so I tried it
myself, invoking the commands myself.
The problem is the location of the source file test.mod. If it's in the
working directory, everything runs fine.
But if not and I have a file path like ../../examples/test.mod It
doesn't compile. gm2 tells me, that it cannot find _M2_test_init and
_M2_test_finish
I tried all combinations of -I and -fobject-path but nothing helped
A working command for example, is:
++++
gm2 -fmakeall -fiso -I.:../../Al:../../examples
-fobject-path=.:../../examples -L../Al -lAl -lalleg-4.4.0 test.mod
with the file test.mod in the current directory
++++
But
++++
gm2 -fmakeall -fiso -I.:../../Al:../../examples
-fobject-path=.:../../examples -L../Al -lAl
-lalleg-4.4.0 ../../examples/test.mod
++++
doesn't work.
Any suggestions?
Thanks
- [Gm2] Problem with out-of-source build,
Martin Kalbfuß <=