gcc: installation problem, cannot exec `as` No such file or directory |
bash-3.2# gcc test.c collect2: cannot find `ld' |
原帖由 Umysun 于 2007-12-12 19:28 发表
估计又是system level variables的问题,请参考:
LD_LIBRARY_PATH=/usr/lib:/usr/share/lib:/usr/openwin/lib:/usr/local/lib:/usr/sfw/lib
PATH=/usr/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/us ...
bash-3.2# gcc -v Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 |
bash-3.2# cd /usr/ccs/bin/ bash-3.2# ls admin dump lari nm sccs val amd64 elfdump lex nrform sccsdiff vc ar error lorder prof size what as get m4 prs strip yacc cdc gprof make prt symorder yaccpar comb gprof.callg.blurb mcs ranlib tsort delta gprof.flat.blurb nceucform rmdel unget dis help ncform sact unifdef |
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |