|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
GCC 4.9 arm-nilrt-linux-gnueabi toolchain
Has anybody been able to successfully build a GCC 4.9 toolchain for the roboRIO? I've been looking into it, but I don't have any hardware, so I was wondering if any of the beta teams had had any success as of yet.
|
|
#2
|
|||
|
|||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
I have already successfully used 4.8.3 with it. 4.9 shouldn't be that hard.
|
|
#3
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
What C library did you use? Just glibc? And where did you snag the kernel headers?
|
|
#4
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
I have never cross-compiled before, so I am a newbie. When you use GCC and try to compile an application for another platform like the PPC in the cRIO, do you still have access to the full C++ STL library? Also, are there some libraries like pthread available?
I have the GNU GCC compiler to cross-compile for the RasPi, but I don't know if it will compile my application, which uses pthread and libx11. Thanks! |
|
#5
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
We are currently updating our toolchain for GCC 4.9, which will (hopefully, almost positive) be the official C++ compiler for 2015. Its not yet done (I'm actually waiting for GCC to compile on launchpad as I type this), but we are hoping to let some beta teams test it soon (week or so?).
Quote:
Quote:
Shameless plug: Anyone interested in maintaining arm-linux-gnueabi packages for non .deb-based linux should contact me. If the given platform already has binutils 2.24 and gcc 4.9.1, you only need to package the header files and so libs. |
|
#6
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
Quote:
EDIT: Also is there a preview version of wpilib i could be using? Last edited by CodeYeti : 09-08-2014 at 07:33 PM. Reason: formatting |
|
#7
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
Quote:
Quote:
|
|
#8
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
You should be able to use the Linaro GCC 4.9 toolchain on a Linux box. I'm using it now for my other ARM platforms on my Linux Mint 17 box.
|
|
#9
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
Quote:
|
|
#10
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
To get read access, I submitted an account creation request on the login page and it got approved by an administrator eventually.
|
|
#11
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
I'm still planning on rolling my own toolchain, but for the information of others I just found someone building Debian/Ubuntu packages here.
|
|
#12
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
While this might not be exactly what you are looking for, NI has a full openembedded build system set up as well as their fork of the linux kernel on their github here: https://github.com/ni
There are a couple of other cool things on their github as well if you look around. |
|
#13
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
Quote:
Also if you are a beta tester and you haven't heard of this yet: we are rolling this out slowly due to the large breakage this could cause. Don't panic. |
|
#14
|
|||
|
|||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
Quote:
One of my eventual goals is to set up Clang as well. |
|
#15
|
||||
|
||||
|
Re: GCC 4.9 arm-nilrt-linux-gnueabi toolchain
As a Functional Freak™ (Haskell) I'd be more than willing to work with you on getting a LLVM backend working. Are you planning on putting or currently have a GitHub repo up?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|