celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Melissant (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-35) Cmake adjustments for other platforms
Date Wed, 16 May 2012 10:01:02 GMT
Jonathan Melissant created CELIX-35:

             Summary: Cmake adjustments for other platforms
                 Key: CELIX-35
                 URL: https://issues.apache.org/jira/browse/CELIX-35
             Project: Celix
          Issue Type: Improvement
         Environment: Linux x86-64 Ubuntu -> cross compiled for ARM and C6X architecture
            Reporter: Jonathan Melissant
            Priority: Minor

In order to cross compile for the ARM and C6x architecture, some cmake files (CMakeLists.txt
and *.cmake) need to be edited. 
First of all, not all bundles need to be deployed. 
Secondly the linker needs more information about the libraries it linkes against. 

For instance, both the deployment_admin and shell need the CURL library. 
This library is used in framework.
A standard linker will see this dependency and will also link the CURL library, but
the c6x linker doesn't see this dependancy and asks for the CURL library path.
Adding the FindCurl statements to shell and deployment_admin cmake
and specifying the CURL_LIBRARY with target_link_libraries will overcome this issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message