View Single Post
  #14   Spotlight this post!  
Unread 05-11-2012, 09:22
agartner01 agartner01 is offline
Captain + Control Sys & Design
FRC #4174
Team Role: Engineer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Hector MN
Posts: 109
agartner01 is an unknown quantity at this point
Re: Alternate GCC Toolchain

Ok, now it get this:
Code:
/usr/bin/powerpc-wrs-vxworks-c++ -nostdlib -r -Wl,-X -static
  CMakeFiles/cmTryCompileExec2792526235.dir/testCXXCompiler.cxx.obj -o
  cmTryCompileExec2792526235_PartialImage.out -lsupc++ -lstdc++ -lgcc

  /usr/local/powerpc-wrs-vxworks/munch.sh powerpc-wrs-vxworks-nm
  cmTryCompileExec2792526235_ctdt.c
  cmTryCompileExec2792526235_PartialImage.out

  Error running link command: No such file or directory
Edit:
Quote:
Originally Posted by rbmj View Post
The CMake Toolchain file should work with the standard "gccdist" toolchain. If you download this toolchain <1> then the cmake file should work fine (NOTE: It requires munch.sh and strip_syms.sh from the vxworks-gcc-patches repo to be installed in WIND_BASE - maybe should make these a separate package), just set TOOLCHAIN_IS_GCCDIST to true.
So I did that, now i get:
Code:
  /usr/lib/gcc/powerpc-wrs-vxworks/4.8.0/../../../../powerpc-wrs-vxworks/bin/ld:
  cannot open linker script file
  /usr/local/powerpc-wrs-vxworks/wind_base/target/h/tool/gnu/ldscripts/link.OUT:
  No such file or directory

  collect2: error: ld returned 1 exit status

  make[1]: *** [cmTryCompileExec1263306447] Error 1

Last edited by agartner01 : 05-11-2012 at 09:48.