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

2011-06-15 Thread jianhua
ander Neundorf" wrote: >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

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

2011-06-14 Thread jianhua
j\cpf_ui.l .\NavObj\cpf_lbs.l .\NavObj\myapp.l --first AEEMod_Load --- TARGET myapp.mod ".\elf2mod" myapp.elf -output myapp.mod elf2mod: RelocMod ro-base=0x200 rw-base=0x126040 elf2mod: Created myapp.mod At 2011-06-15 09:

[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

Re: [CMake] Errors using CMAKE for cross compiling.

2011-06-14 Thread jianhua
Thanks Kishore; It really works as expected after your guidence change. At 2011-06-14 12:47:52,Kishore wrote: >On Tuesday 14 Jun 2011 9:46:56 AM jianhua wrote: >> Try cross compiling using CMAKE, target tool chain is ARM RVCT4, got errors >> on both Windows and Ubuntu. >

[CMake] Errors using CMAKE for cross compiling.

2011-06-13 Thread jianhua
Try cross compiling using CMAKE, target tool chain is ARM RVCT4, got errors on both Windows and Ubuntu. Please help, thanks in advance. 1. On Ubuntu. ADD_EXECUTABLE(hello main.c) Fatal error: C3900U: Unrecognized option '-rdynamic'. ADD_EXECUTABLE(hello SHARED main.c) Fatal error: C390

Re: [CMake] Scanning dependencies of target xxx is very slow.

2011-06-05 Thread jianhua
; wrote: >On Friday, June 03, 2011 04:01:54 AM jianhua wrote: >> Hey all; >> >> I am a new bible of CMAKE, I just use cmake to rewrite my previous project, >> the problem is that the process "Scanning dependencies of target " is >> really very slow, i

[CMake] Scanning dependencies of target xxx is very slow.

2011-06-02 Thread jianhua
Hey all; I am a new bible of CMAKE, I just use cmake to rewrite my previous project, the problem is that the process "Scanning dependencies of target " is really very slow, it will always take more than 20 to 30 minutes for scanning. What does CMAKE do to scan dependencies of target? Why so