Re: [CMake] Doesn't support SHARED libraries during cross compiling using ARM RVCT40.

2011-06-16 Thread Alexander Neundorf
On Thursday 16 June 2011, jianhua wrote: > Hi Neundorf; > > Thanks for your continuous help, you have helped me to solve 2 threads now. > > After remove line SET (CMAKE_SYSTEM_NAME Generic) now it works. > > The target device OS is Brew MP, something like eCos, but it is much > simpler, powere

Re: [CMake] Doesn't support SHARED libraries during cross compiling using ARM RVCT40.

2011-06-15 Thread jianhua
Hi Neundorf; Thanks for your continuous help, you have helped me to solve 2 threads now. After remove line SET (CMAKE_SYSTEM_NAME Generic) now it works. The target device OS is Brew MP, something like eCos, but it is much simpler, powered by Qualcomm. At 2011-06-16 01:14:11,"Alexander Neun

Re: [CMake] Doesn't support SHARED libraries during cross compiling using ARM RVCT40.

2011-06-15 Thread Alexander Neundorf
On Wednesday 15 June 2011, jianhua wrote: > Hi All; > > No matter Linux or Windows, when try to build SHARED library, it will > always get the following error message. ADD_LIBRARY(hello SHARED hello.c) > > ADD_LIBRARY for library hello is used with the SHARED option, but the > target platform su

Re: [CMake] Doesn't support SHARED libraries during cross compiling using ARM RVCT40.

2011-06-14 Thread jianhua
The background of this question is that I want to build one BrewMP project, the compiler is ARM RVCT40. Original build method is below: 1. Build many static libraries. 2. Link them to elf. 3. Create mod file, final one. Now What I need to do is to achieve these steps by CMAKE, any idea or su

[CMake] Doesn't support SHARED libraries during cross compiling using ARM RVCT40.

2011-06-14 Thread jianhua
Hi All; No matter Linux or Windows, when try to build SHARED library, it will always get the following error message. ADD_LIBRARY(hello SHARED hello.c) ADD_LIBRARY for library hello is used with the SHARED option, but the target platform supports only STATIC libraries. Building it STATIC inst