1

I have a functional arm cross compiler that I can use with arm-linux-gnueabi-gcc command.

This works for simple programs but I run into problems when I have to compile bigger programs requiring libraries like x11, opengl as the required headers/files are not present in arm-linux-gnuebi directory but in normal gcc compiler.

I need to know, is there any easy way to install such libraries for arm-gcc.

Using simple apt-get does'nt work. For example, if I need freeglut3-dev for cross compiling an application, how would I do it.

Can I configure apt-get do install libraries for arm-gcc ? Or can I use gdebi to install .deb(those with arm support) on my own host computer that will work ?

Regards

asked May 29, 2015 at 9:26

1 Answer 1

1

Have a look at this page, there is an option in apt to specify the package architecture: https://unix.stackexchange.com/questions/115272/download-package-via-apt-for-another-architecture

An example for architecture ":armhf" on a beagleboard is here: See section "Qt build with X" https://wiki.mozilla.org/Embedding/IPCLiteAPI_BeagleBoardHF

An alternative would be to create a VM for development: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Virtual_ARM_Linux_environment

I hope it helps ssinfod

answered May 31, 2015 at 14:32
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.