Subject: CGAL users discussion list
List archive
- From: Joachim Reichel <>
- To:
- Subject: Re: [cgal-discuss] Cross compilation and CGAL
- Date: Sat, 24 Jan 2009 15:40:09 +0100
Hi,
> I would like to use CGAL in embedded devices, and for that I need
> cross-compilation. With CGAL version 3.3, I used to bypass the
> configuration
> script and use directly the makefiles with correct compile options. I was
> hoping that the switch to CMake in v3.4 would solve that, but there is
> still an
> issue: during configuration, test files are compiled *and run*, yet when you
> cross-compile (e.g. for an ARM target), it is impossible to run the tests on
> your host.
> Is there any mean to bypass the "run" step? Or to let the user decide of the
> options? The showstopper in my case is that STL is not detected (the test
> program for STL cannot be run), which blocks the compilation very early.
> I really would like to use CMake, because it is a great tool for automatic
> configuration. And by the way thanks for your great work on CGAL :)
are talking about the tests in config/testfiles? You could cross-compile them
manually, copy the executables to the target and take notes of the results.
Then
fake the tests to return the recorded results. Shouldn't be too hard to
automate
that with a short script.
CMake seems to have some support for cross-compiling, see
http://www.cmake.org/Wiki/CMake_Cross_Compiling. But I have no idea whether
this
would work with CGALs CMake scripts.
Joachim
- [cgal-discuss] Cross compilation and CGAL, hamel, 01/24/2009
- Re: [cgal-discuss] Cross compilation and CGAL, Joachim Reichel, 01/24/2009
- Re: [cgal-discuss] Cross compilation and CGAL, Hadrien Hamel, 01/24/2009
- Re: [cgal-discuss] Cross compilation and CGAL, Fernando Cacciola, 01/24/2009
- Re: [cgal-discuss] Cross compilation and CGAL, Hadrien Hamel, 01/25/2009
- Re: [cgal-discuss] Cross compilation and CGAL, Fernando Cacciola, 01/24/2009
- Re: [cgal-discuss] Cross compilation and CGAL, Hadrien Hamel, 01/24/2009
- Re: [cgal-discuss] Cross compilation and CGAL, Joachim Reichel, 01/24/2009
Archive powered by MHonArc 2.6.16.