gcc33

2 views
Skip to first unread message

Sergey Sam Gershun

unread,
May 31, 2007, 12:55:04 PM5/31/07
to Mac OS
OS X 10.4 Tiger

нужно скомпилить кое-что под gcc3.3

пишу sudo gcc_select 3.3

не компилится - говорит
configure: error: C compiler cannot create executables


пытаюсь поставить sudo port install gcc33 - мало ли не все встало

выдает такое

---> Configuring gcc33
Error: Target com.apple.configure returned: configure failure: shell
command " cd "/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_lang_gcc33/
work/build" && /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_lang_gcc33/
work/gcc-3.3.6/configure --prefix=/opt/local --enable-languages=c,c+
+,f77,objc --libdir=/opt/local/lib/gcc-3.3 --infodir=/opt/local/share/
info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --
with-system-zlib --disable-nls --program-suffix=-dp-3.3 --with-gxx-
include-dir=/opt/local/include/gcc-3.3/c++/ " returned error 1
Command output: Configuring for a i686-apple-darwin8.9.1 host.
Created "Makefile" in /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_lang_gcc33/
work/build
gcc-3.3: installation problem, cannot exec `cc1': No such file or
directory
*** The command '/usr/bin/gcc-3.3 -o conftest -O2 -I/opt/local/include
-L/opt/local/lib conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Error: Status 1 encountered during processing.


притом

ls /usr/bin/ | grep cc выдает

cc
distcc
distccd
distccmon-text
gcc
gcc-3.3
gcc-4.0
i686-apple-darwin8-gcc-4.0.1
perlcc
powerpc-apple-darwin8-gcc-4.0.1
rpcclient
yacc

Reply all
Reply to author
Forward
0 new messages