AlanTue Nov 13 10:44:48 PST 2007
On Sun, November 11, 2007 1:55 am, Bob Miller wrote: > I'm looking to either borrow some time with someone's SPARC C++ > compiler, or get someone to compile a small C++ program for me. > > So can anyone help me produce a SPARC Solaris executable that'll > run well on a T5120? Or, heck, any SPARC Solaris executable. > > Current source: > http://www.lug.corvallis.or.us/drupal/files/wfk-3.c++.txt > Doesn't compile on my sparc either. = bash-3.00# /usr/local/bin/gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.3.2 bash-3.00# /usr/local/bin/gcc wfk-3.c++.c wfk-3.c++.c:11:19: fstream: No such file or directory wfk-3.c++.c:12:20: iostream: No such file or directory wfk-3.c++.c:13:18: memory: No such file or directory wfk-3.c++.c:14:18: vector: No such file or directory wfk-3.c++.c:25:21: pcrecpp.h: No such file or directory wfk-3.c++.c:28: error: parse error before "Heuristics" wfk-3.c++.c:28: error: syntax error before '{' token wfk-3.c++.c:36: error: parse error before '}' token wfk-3.c++.c:50: error: parse error before "g_use_pcre" wfk-3.c++.c:50: warning: data definition has no type or storage class wfk-3.c++.c:51: error: parse error before "g_silent" wfk-3.c++.c:51: warning: data definition has no type or storage class wfk-3.c++.c:52: error: parse error before "g_preload_strategy" wfk-3.c++.c:52: warning: data definition has no type or storage class wfk-3.c++.c:55: error: parse error before "Scanner" wfk-3.c++.c:55: error: syntax error before '{' token wfk-3.c++.c:58: error: function `scan' is initialized like a variable wfk-3.c++.c:58: warning: data definition has no type or storage class wfk-3.c++.c:59: error: parse error before '}' token wfk-3.c++.c:61: error: parse error before "PcreScanner" wfk-3.c++.c: In function `scan': wfk-3.c++.c:73: error: parse error before ':' token = -ajb