how to configuring Code-Blocks IDE for arm-linux-gcc
hello every body
does any body know how to configuring code-block IDE for arm linux compiler(arm-linux-gcc). or refrence me very quick how to or reference. |
Codeblocks is probably the easy part ..
./configure CC=arm-linux-gcc CXX=arm-linux-c++ The real hard? work is : 1) Codeblock depends on wxGTK2.8 : Must be cross compiled. 2) But to build wxGTK2.8 ( wx widgets ), all wxGTK2.8's twenty dependencies must be present as cross compiled libraries. Example dependency list, libwxgtk2.8-0 : http://packages.debian.org/lenny/libwxgtk2.8-0 As you can see, libwxgtk2.8-0 is available for 'arm'. And may be the most libs too. Check it yourself, please. libwxgtk2.8-dev : http://packages.debian.org/lenny/libwxgtk2.8-dev ..... Good luck .. .. :) .. ..... |
Quote:
Thanks |
@ ambitious : Welcome to LQ.
There are two ways to do "arm" compiling. A) Buy or build an arm based developing computer. B) Learn to cross compile : Start with LFS, "Linux From Scratch" to know Linux files. http://www.linuxfromscratch.org/ Move on to "Cross Linux From Scratch" , where I guess using a 'chroot environment' is described too. ..... ..... A third way is of course to use binary packages : http://packages.debian.org/lenny/python-wxgtk2.8 http://packages.debian.org/lenny/libwxgtk2.8-0 http://packages.debian.org/lenny/libwxgtk2.8-dev .. and choose the "arm" link ( bottom of page.) ..... |
Thanks knudfl for your help,
But regarding to the 3rd option ( using binary packages ), do you mean that i need to download this package for i386 and cross compiling this package for ARM of not? Or download the Arm package , but in case if i downloaded the arm pachae it will not be compiled in my Linux PC because it is intel ARCH. So could you describe what you want? Thanks again for your help M.Hmaed |
Quote:
|
All times are GMT -5. The time now is 11:22 PM. |