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. >> >> Please help, t

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

2011-06-13 Thread Kishore
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. > > Please help, thanks in advance. > > 1. On Ubuntu. > ADD_EXECUTABLE(hello main.c) > Fatal error: C3900U: Unrecognized option '-rdynamic'

[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