Discussion about development tools and environments, such as STLink, OpenOCD, arm-gcc, Eclipse, Qt Creator and Visual Studio.
no avatar
User

Trex

Posts

83

Joined

Mon Sep 01, 2014 3:35 pm

tips for build environment setup on Linux

by Trex » Fri Jul 24, 2015 10:06 pm

Someone asked me for information on setting up a Build Environment , so I I put some information and links together that i had used.
I am also a beginner on this, but maybe its useful for others, so I post it also here after I got feedback that it worked.

I am using this on a 32bit Ubuntu 14.10 in a VM.

I based my installation on this script: https://gist.github.com/anonymous/658dda4c288be0b49564
(I think peadbody124 posted that on IRC)

But I did some changes, so here are some links:
- git account & fork: https://github.com/TauLabs/TauLabs/wiki ... vironments
- linux dev environment description: https://github.com/TauLabs/TauLabs/wiki ... inux-setup
- openpilot, i think for openOCD i looked at it: https://wiki.openpilot.org/display/WIKI ... nvironment
- using eclipse for /flight development viewtopic.php?f=19&t=471
- gcs development with QT Creator: https://github.com/TauLabs/TauLabs/wiki ... Qt-Creator
- general development overview: https://github.com/TauLabs/TauLabs/wiki ... umentation

I tried to put my final commands, that I think to have used, into this script:
https://gist.github.com/Trex4Git/95c2be ... l-20script
no avatar
User

tracernz

Posts

119

Joined

Mon Apr 06, 2015 7:46 am

Re: tips for build environment setup on Linux

by tracernz » Sat Jul 25, 2015 3:13 am

If you're using recent 64-bit ubuntu releases you need gcc-multilib rather than ia32-libs for 32-bit libraries and possibly some other stuff I forgot. I'm currently running 15.04. Should probably figure out exactly what's needed and update that wiki page if I get some time.
no avatar
User

Trex

Posts

83

Joined

Mon Sep 01, 2014 3:35 pm

Re: tips for build environment setup on Linux

by Trex » Sat Jul 25, 2015 7:20 am

Thanks for your feedback, its a good point to say that some information on the wiki are not up to date.
I have forgotten that.

When you look at the shell scripts for build environment setup (first link and last link in my previous post) you see that gcc-multilib seems already to be used (sudo apt-get install gcc-multilib).

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB ® | phpBB3 Style by KomiDesign