Page 1 of 1

Codelite on Fedora ARM Cortex-A8

Posted: Thu Dec 04, 2014 7:02 am
by ctrauma
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. :D

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sat Dec 06, 2014 3:08 am
by Gibbon1
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.

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sat Dec 06, 2014 9:13 pm
by ctrauma
The error I am seeing is when is links in the LLDBDebugger..

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
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

-- 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

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sat Dec 06, 2014 9:59 pm
by DavidGH
Hi,
because the library has been compiled for i386 I'm assuming
Yes.
I'm guessing that I could disable that bit so I'm looking into that now..
In case you've not already found it, your cmake options should include:
-DENABLE_LLDB=0

Regards,

David

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sat Dec 06, 2014 10:09 pm
by eranif
You might also want to throw in to your cmake line:

Code: Select all

-DENABLE_CLANG=0
Eran

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sun Dec 07, 2014 1:04 am
by ctrauma
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 :D

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sun Dec 07, 2014 3:18 am
by Gibbon1
You might find a pre-built cross compiler from these guys.

https://releases.linaro.org/13.09/compo ... n/binaries

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sun Dec 07, 2014 7:23 am
by ctrauma
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..

Re: Codelite on Fedora ARM Cortex-A8

Posted: Sun Mar 01, 2015 7:52 am
by ctrauma
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..

:mrgreen:
codelite_arm_debian_screenshot.png