Re: Building RTEMS hello world image using CMake

2016-03-14 Thread Sambeet Panigrahi
Hi, Sorry for the delay. I am attaching my CMakeLists.txt with this.The test.c is the source code from examples-v2. I created a separate build folder to hold the builds. And from inside that gave the command $ cmake .. and then for the generated makefile,I gave the command $ make all After the exe

Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Chris Johns
On 14/03/2016 09:33, Pavel Pisa wrote: Hello Chris and others, On Sunday 13 of March 2016 22:28:14 Chris Johns wrote: On 13/03/2016 1:53 AM, Gedare Bloom wrote: If this works for you, and you are sufficiently interested, it would be useful to provide CMake example for the examples-v2.git repos

Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Pavel Pisa
Hello Chris and others, On Sunday 13 of March 2016 22:28:14 Chris Johns wrote: > On 13/03/2016 1:53 AM, Gedare Bloom wrote: > > If this works for you, and you are sufficiently interested, it would > > be useful to provide CMake example for the examples-v2.git repository > > for others to benefit.

Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Gedare Bloom
On Sun, Mar 13, 2016 at 5:28 PM, Chris Johns wrote: > On 13/03/2016 1:53 AM, Gedare Bloom wrote: >> If this works for you, and you are sufficiently interested, it would >> be useful to provide CMake example for the examples-v2.git repository >> for others to benefit. > > I am not sure about adding

Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Chris Johns
On 13/03/2016 1:53 AM, Gedare Bloom wrote: > If this works for you, and you are sufficiently interested, it would > be useful to provide CMake example for the examples-v2.git repository > for others to benefit. I am not sure about adding this to examples-v2.git. I would prefer it to be a waf only

Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Sujay Raj
cmake works fine if the variables are over-ridden. And things aren't that difficult while using pc386 bsp. But if we are dealing with arm or other archs, the best way ( and the recommended one ) to do during cross-compiling would be to create a toolchain file, forcing cmake to use the cross compili

Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Sujay Raj
Note: the RTEMS_TOOLS and BSP_DIR variables in the above mail point to the toolchain directory and BSP directory respectively and need to be passed to cmake while calling it using the ( -D ) flag. On Sun, Mar 13, 2016 at 5:22 PM, Sujay Raj wrote: > cmake works fine if the variables are over-ridd

Re: Building RTEMS hello world image using CMake

2016-03-12 Thread Gedare Bloom
If this works for you, and you are sufficiently interested, it would be useful to provide CMake example for the examples-v2.git repository for others to benefit. On Sat, Mar 12, 2016 at 9:29 AM, Sambeet Panigrahi wrote: > Thank you Chris.That works perfectly:) > > On Mar 11, 2016 6:32 AM, "Chris

Re: Building RTEMS hello world image using CMake

2016-03-12 Thread Sambeet Panigrahi
Thank you Chris.That works perfectly:) On Mar 11, 2016 6:32 AM, "Chris Johns" wrote: > [ Please excuse the delay. It took a while to get >something worth posting sorted out. ] > > On 04/03/2016 14:46, Sambeet Panigrahi wrote: > >> I wanted to build a hello world image of RTEMS using cmake. C

Re: Building RTEMS hello world image using CMake

2016-03-10 Thread Chris Johns
[ Please excuse the delay. It took a while to get something worth posting sorted out. ] On 04/03/2016 14:46, Sambeet Panigrahi wrote: I wanted to build a hello world image of RTEMS using cmake. Can someone provide me steps for doing so or point me to the right resources ? I attach a couple

Re: Building RTEMS hello world image using CMake

2016-03-04 Thread Gedare Bloom
You should first compile and install RTEMS per https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start using 4.12 for the master branch of rtems.git. Then you can see how the git.rtems.org/examples-v2.git uses two build systems, custom makefiles and waf, to compile example applications. This might

Building RTEMS hello world image using CMake

2016-03-03 Thread Sambeet Panigrahi
I wanted to build a hello world image of RTEMS using cmake. Can someone provide me steps for doing so or point me to the right resources ? ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel