Codelite on Fedora ARM Cortex-A8
-
- CodeLite Curious
- Posts: 5
- Joined: Mon May 05, 2014 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Location: US
- Contact:
Codelite on Fedora ARM Cortex-A8
Has anyone attempted to build CodeLite for ARM? I have a tablet running Fedora that I would like to build CodeLite on, but I see the SDK directory has some architecture specific binaries.I built wxWidgets without a hitch so I'm thinking it can be done. Does anybody have any experience in this area, just looking to get a lay of the land, or be called crazy before digging into it.
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." -- Alan Perlis
-
- CodeLite Expert
- Posts: 167
- Joined: Fri Jul 22, 2011 5:32 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
Well getting wxWidgets to compile is a good sign. Makes me happy since I'm interest in running a GUI under embedded Linux on ARM as well.
If you have trouble reporting back perhaps the maintainers can help.
If you have trouble reporting back perhaps the maintainers can help.
-
- CodeLite Curious
- Posts: 5
- Joined: Mon May 05, 2014 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Location: US
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
The error I am seeing is when is links in the LLDBDebugger..
because the library has been compiled for i386 I'm assuming..
I'm guessing that I could disable that bit so I'm looking into that now..
I see when running cmake:
Code: Select all
~/Projects/codelite
../../sdk/lldb/unix/lib/i386/liblldb.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [lib/LLDBDebugger.so] Error 1
make[1]: *** [LLDBDebugger/CMakeFiles/LLDBDebugger.dir/all] Error 2
make: *** [all] Error 2
I'm guessing that I could disable that bit so I'm looking into that now..
I see when running cmake:
Code: Select all
-- LIBLLDB is set to /home/pengpod/Projects/codelite/sdk/lldb/unix/lib/i386/liblldb.so
-- LIBLLDB_INCLUDE is set to /home/pengpod/Projects/codelite/sdk/lldb/unix/include
-- Will install file /home/pengpod/Projects/codelite/sdk/lldb/unix/lib/i386/liblldb.so
-- Processing target codelite-lldb
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." -- Alan Perlis
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
Hi,
-DENABLE_LLDB=0
Regards,
David
Yes.because the library has been compiled for i386 I'm assuming
In case you've not already found it, your cmake options should include:I'm guessing that I could disable that bit so I'm looking into that now..
-DENABLE_LLDB=0
Regards,
David
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
You might also want to throw in to your cmake line:
Eran
Code: Select all
-DENABLE_CLANG=0
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Mon May 05, 2014 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Location: US
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
Thanks guys.. yep already made those changes and kicked off a build a few hours ago. I don't have a cross compile toolchain setup yet for ARM, but I will soon, so for now I'm compiling on the device which is SLOOOOOOOOW, only at 40% as we speak will let you know how it works out.. stay tuned..
UPDATE: just made it past the point where it bailed out last time, so fingers crossed. 60% complete
UPDATE: just made it past the point where it bailed out last time, so fingers crossed. 60% complete
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." -- Alan Perlis
-
- CodeLite Expert
- Posts: 167
- Joined: Fri Jul 22, 2011 5:32 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
You might find a pre-built cross compiler from these guys.
https://releases.linaro.org/13.09/compo ... n/binaries
https://releases.linaro.org/13.09/compo ... n/binaries
-
- CodeLite Curious
- Posts: 5
- Joined: Mon May 05, 2014 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Location: US
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
Thanks for the tip on the cross compiler, will have a look.. I just created a toolchain for armv7 linux with crosstool-NG and built a simple hello world app to test and it seems to work well, but in the meantime the build on the pengpod finished and it works great.. Thanks for all the help getting this going..
You do not have the required permissions to view the files attached to this post.
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." -- Alan Perlis
-
- CodeLite Curious
- Posts: 5
- Joined: Mon May 05, 2014 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Location: US
- Contact:
Re: Codelite on Fedora ARM Cortex-A8
Unfortunately I had to give up on Fedora on the pengpod, there were just too many issues, so I'm giving debian wheezy a go... Figured I'd post some eye candy from that too.. It took a bit of fiddling to get wxWidgets and CodeLite to build, but in the end it is quite usable..
You do not have the required permissions to view the files attached to this post.
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." -- Alan Perlis