You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Jonathan Melissant (JIRA)" <ji...@apache.org> on 2012/05/16 12:01:02 UTC

[jira] [Created] (CELIX-35) Cmake adjustments for other platforms

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

        

[jira] [Updated] (CELIX-35) Cmake adjustments for other platforms

Posted by "Jonathan Melissant (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CELIX-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Melissant updated CELIX-35:
------------------------------------

    Attachment: celix_cmake_update.patch

This patch adjusts the CMakeLists.txt and some *.cmake files.
You can remove the *.cmake files if you want.
                
> 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
>         Attachments: celix_cmake_update.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> 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