|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#121
|
|||
|
|||
|
Re: Alternate GCC Toolchain
Does anyone know if there's support for C++11's new math functions, namely copysign()? It wasn't working for me, but that could just be on my end.
|
|
#122
|
|||
|
|||
|
Re: Alternate GCC Toolchain
There should be. Again, there used to be a bug with c++11 support, which should be fixed when I release the new packages and builds (hopefully very soon). If you can paste the errors you are getting and the output of make VERBOSE=1 I can see if you are affected by this bug and the resolution.
|
|
#123
|
|||
|
|||
|
Re: Alternate GCC Toolchain
@wlmeng11 I've just built it successfully in a Ubuntu 12.04 64.
The "--64" indicates 64 bit, and I'm pretty sure it should be running /user/powerpc-wrs-vxworks/bin/powerpc-wrs-vxworks-as not /user/powerpc-wrs-vxworks/bin/as . Are you sure you passed --target to both binutils & gcc's configure? |
|
#124
|
|||
|
|||
|
Re: Alternate GCC Toolchain
Quote:
Binutils is fine - as isn't supposed to take a --64 argument AFAIK. Can you post your config.log? Last edited by rbmj : 01-03-2013 at 23:49. |
|
#125
|
||||
|
||||
|
Re: Alternate GCC Toolchain
Quote:
Which version of GCC are you using and where did you get it? (official repos, PPA, or source) |
|
#126
|
|||
|
|||
|
Re: Alternate GCC Toolchain
The complete output of make VERBOSE=1 is as follows:
Quote:
|
|
#127
|
|||
|
|||
|
Re: Alternate GCC Toolchain
I've been building either the gcc-master tarballs from github (ie: latest snapshot), or using the date marked snapshots from the gcc mirrors.
ie: all source, all upstream. |
|
#128
|
|||
|
|||
|
Re: Alternate GCC Toolchain
Quote:
Code:
$ frcmake $SRCDIR -DCMAKE_CXX_FLAGS='-std=c++11 -fpermissive' Last edited by rbmj : 02-03-2013 at 12:29. |
|
#129
|
||||
|
||||
|
Are you also building all the other libraries from source? (gmp, mpfr, and mpc)
|
|
#130
|
|||
|
|||
|
Re: Alternate GCC Toolchain
@wlmeng11
yes. See the build script I use, more info in this post back on page 7: http://www.chiefdelphi.com/forums/sh...1&postcount=86 |
|
#131
|
|||
|
|||
|
Re: Alternate GCC Toolchain
UPDATE:
I've figured out how to get the repository to work, and I'm in the free tier for amazon s3. Thus, here's the link to a new FirstForge wiki page on how to set it up: http://firstforge.wpi.edu/sf/wiki/do.../BinaryInstall Currently, I only have packages for debian wheezy. I don't know if they will be binary-compatible with Ubuntu. The only binary library dependencies are libc and zlib, which are both pretty good with compatibility, bu you never know... There's also instructions on how to build the packages here: http://firstforge.wpi.edu/sf/wiki/do.../ManualInstall I'll be putting more instructions on how to compile manually from source (for other distributions) on that last page. Hopefully I should finish updating soon! |
|
#132
|
||||
|
||||
|
Quote:
The PPA worked for me on Ubuntu 12.04. |
|
#133
|
|||
|
|||
|
Re: Alternate GCC Toolchain
The new required C++ update to WPILib has been incorporated into the git repo of WPILib and the builds have been uploaded. Let me know if you have any issues. For anyone using the repo, a standard aptitude update && aptitude upgrade should do the trick.
As always, let me know of any issues that arise. |
|
#134
|
|||
|
|||
|
Re: Alternate GCC Toolchain
I made a PKGBUILD for the 64-bit version of this toolchain. It is available on the AUR. If you have an AUR package installer (like yaourt), you can install it by simply doing:
Code:
yaourt -S vxworks-gcc-toolchain-bin Alex Brinister Last edited by AlexBrinister : 08-03-2013 at 18:11. |
|
#135
|
|||
|
|||
|
Re: Alternate GCC Toolchain
Quote:
http://firstforge.wpi.edu/sf/go/proj..._toochain/wiki |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|