View Single Post
  #20   Spotlight this post!  
Unread 16-01-2013, 18:19
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: Alternate GCC Toolchain

Thanks. I need to do some reading on how aptitude packages work from a non-user perspective. Since I have a meeting tonight, and kinda want to toy with C++11 and wpilib, would you mind just giving me a quick instruction on how to build the packages? (I can install them and all that jazz, but I haven't really developed with aptitude before).

Thanks again for the patience and your awesome contributions to FIRST.

BEGIN EDIT

Just tried building GCC on my debian machine from source. I've gotten a pretty odd error. Might a recent commit have broken something?

Code:
../../../gcc-master/libgcc/libgcov.c: In function 'create_file_directory':
../../../gcc-master/libgcc/libgcov.c:143:13: error: too many arguments to function 'mkdir'
             && mkdir (filename, 0755) == -1
             ^
In file included from ../../../gcc-master/libgcc/libgcov.c:82:0:
/usr/local/powerpc-wrs-vxworks/wind_base/target/h/sys/stat.h:169:24: note: declared here
 extern    STATUS       mkdir (const char *_dirName);
                        ^
make[2]: *** [_gcov.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/mcoffin/gcc-build/powerpc-wrs-vxworks/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/mcoffin/gcc-build'
make: *** [all] Error 2

Last edited by CodeYeti : 16-01-2013 at 19:02.