Binutils installation problem
Chiara Sandionigi
chiara.sandionigi at mac.com
Mon Sep 3 08:53:00 PDT 2007
On 03/set/07, at 06:57, Paul Guyot wrote:
> Chiara should either remove FSF compiler and retry or try to
> compile an FSF-obtained version of binutils.
Unfortunately no solution works properly.
::. Using gcc 4.0.1 of Apple and installing binutils through macport,
I have the following error
---> Building binutils with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/build" && make all " returned error 2
Command output: if [ x"" != x ]; then \
cc -no-cpp-precomp -c -DHAVE_CONFIG_H -O2 -I. -I/opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/../include -W -Wall -pedantic -
Wwrite-strings -Wstrict-prototypes -Wc++-compat /opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
cc -no-cpp-precomp -c -DHAVE_CONFIG_H -O2 -I. -I/opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/../include -W -Wall -pedantic -
Wwrite-strings -Wstrict-prototypes -Wc++-compat /opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/fibheap.c -o fibheap.o
cc1: error: unrecognized command line option "-Wc++-compat"
make[2]: *** [fibheap.o] Error 1
make[1]: *** [all-libiberty] Error 2
make: *** [all] Error 2
Error: Status 1 encountered during processing.
::. Using gcc 3.3 of Apple and installing binutils through macport, I
have the following error
---> Building binutils with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/build" && make all " returned error 2
Command output: if [ x"" != x ]; then \
cc -no-cpp-precomp -c -DHAVE_CONFIG_H -O2 -I. -I/opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/../include -W -Wall -pedantic -
Wwrite-strings -Wstrict-prototypes -Wc++-compat /opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
cc -no-cpp-precomp -c -DHAVE_CONFIG_H -O2 -I. -I/opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/../include -W -Wall -pedantic -
Wwrite-strings -Wstrict-prototypes -Wc++-compat /opt/local/var/
macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b
inutils/work/binutils-2.17/libiberty/fibheap.c -o fibheap.o
cc: installation problem, cannot exec `cc1': No such file or directory
make[2]: *** [fibheap.o] Error 1
make[1]: *** [all-libiberty] Error 2
make: *** [all] Error 2
Error: Status 1 encountered during processing.
::. Compiling a FSF version of binutils and using gcc 4.2.1 of FSF, I
get the following during the installation phase
/bin/sh ./mkinstalldirs /usr/local /usr/local
for f in standards.info configure.info; do \
if test -f .././etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
if make "MAKEINFO=makeinfo --split-size=5000000 --split-
size=5000000" $f; then \
true; \
else \
exit 1; \
fi; \
fi; \
done
make[3]: `standards.info' is up to date.
make[3]: `configure.info' is up to date.
/bin/sh .././etc/../mkinstalldirs /usr/local/info
if test ! -f standards.info; then cd .././etc; fi; \
if test -f standards.info; then \
for i in standards.info*; do \
/usr/bin/install -c -m 644 $i /usr/local/info/$i; \
done; \
fi
if test ! -f configure.info; then cd .././etc; fi; \
if test -f configure.info; then \
for i in configure.info*; do \
/usr/bin/install -c -m 644 $i /usr/local/info/$i; \
done; \
fi
make[2]: Nothing to be done for `install'.
make[3]: Nothing to be done for `all'.
/bin/sh .././libiberty/../mkinstalldirs /usr/local/lib/`gcc -g -O2 -
print-multi-os-directory`
/usr/bin/install -c -m 644 ./libiberty.a /usr/local/lib/`gcc -g -O2 -
print-multi-os-directory`/./libiberty.an
( cd /usr/local/lib/`gcc -g -O2 -print-multi-os-directory` ; chmod
644 ./libiberty.an ;ranlib ./libiberty.an )
mv -f /usr/local/lib/`gcc -g -O2 -print-multi-os-directory`/./
libiberty.an /usr/local/lib/`gcc -g -O2 -print-multi-os-directory`/./
libiberty.a
if test -n ""; then \
case "" in \
/*) thd=;; \
*) thd=/usr/local/include/;; \
esac; \
/bin/sh .././libiberty/../mkinstalldirs ${thd}; \
for h in .././libiberty/../include/ansidecl.h .././libiberty/../
include/demangle.h .././libiberty/../include/dyn-string.h .././
libiberty/../include/fibheap.h .././libiberty/../include/
floatformat.h .././libiberty/../include/hashtab.h .././libiberty/../
include/libiberty.h .././libiberty/../include/objalloc.h .././
libiberty/../include/partition.h .././libiberty/../include/safe-
ctype.h .././libiberty/../include/sort.h .././libiberty/../include/
splay-tree.h; do \
/usr/bin/install -c -m 644 $h ${thd}; \
done; \
fi
make[3]: Nothing to be done for `install'.
make[1]: Nothing to be done for `install-target'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-dev/attachments/20070903/8ea2931a/attachment.html
More information about the macports-dev
mailing list