Troubles compiling GNU Binutils
Thu Feb 12 07:51:00 GMT 1998
If you get this to work, I'd love to hear about it. I called and spoke
with someone at Cygnus about support, since I couldn't get the build to
work to save my life. I learned two things in my conversation with
someone at Cygnus: (1) they aren't interested in supporting anything but
large development shops; and (2) you can't build the gcc toolchain using
the Cygwin32 tools.
I've switched to a FreeBSD box and have had no difficulty getting the
toolchain to build. Make sure you install gnu make, since the berkeley
make that comes with FreeBSD won't correctly build the toolchain.
>From: Geoffroy Montel [SMTP:email@example.com]
>Sent: Thursday, February 12, 1998 5:44 AM
>To: firstname.lastname@example.org; email@example.com
>Subject: Troubles compiling GNU Binutils
>I'm new on the list so greetings to everyone.
>I have to port RTEMS for a MC68340.
>So I got RTEMS doc and tried to install it.
>I run a PC under Cygwin 32 which successfully installed.
>I download binutils2.8.1, gcc2.8.0 and patches.
>But, when I try to cross-compile binutils 2.8.1, it
>fails. Here is what I get:
>$ cd binutils-2.8.1
>$CC=gcc ./configure --target=m68k-coff --with-gnu-as --with-gnu-ld
>--enable-targets=all --prefix=/mydir --exec-prefix=/mydir
>$make CC="gcc" CFLAGS="-O4 -g"
>$make CC="gcc" CFLAGS="-O4 -g" install
> /binutils-2.8.1/install.sh -c -m 644 $f /gcc/lib/$tf; \
> ranlib /gcc/lib/$tf; \
> chmod a-x /gcc/lib/$tf; \
> fi; \
>for i in size objdump nm.new ar strings strip.new ranlib c++filt
>ne ; do \
> /binutils-2.8.1/install.sh -c -t='-e s,^,m68k-coff-, ' $i
>/gcc/bin/`echo $i |
>sed -e 's/.new//'` ; \
>cp: size: No such file or directory
>cp: objdump: No such file or directory
>cp: ar: No such file or directory
>cp: strings: No such file or directory
>cp: ranlib: No such file or directory
>cp: c++filt: No such file or directory
>cp: objcopy: No such file or directory
>cp: addr2line: No such file or directory
>make: *** [install] Error 1
>make: *** [install-binutils] Error 2
>Any help would be *very* appreciated!
>Thanks in advance
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
More information about the crossgcc