Subject: building binutils on 1.4.2-i386
To: None <>
From: Jim Spath <>
List: tech-pkg
Date: 08/15/2000 06:12:39
I tried to build binutils to be able to cross-compile to an
Hitiachi H8 (looking at legOS).  I get this error:

06:08:52/jim> make
===> Configuring for cross-binutils-
Created "Makefile" in /usr/pkgsrc/cross/binutils/work/binutils-2.9.1 using "mt-frag"
collect2: ld returned 33 exit status
*** The command '/usr/bin/cc -o conftest -O2   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
*** Error code 1
*** Error code 1
*** Error code 1
06:09:02/jim> cc --version
06:09:08/jim> uname -a
NetBSD 1.4.2_ALPHA NetBSD 1.4.2_ALPHA (ES-ROADSHOW) #0: Sat Apr 22 22:33:45 EDT 2000 i386

I have a working compiler, and have tried setting CC.  Thoughts?

Marvin the Paranoid Android says:
It's the people you meet in this job that really get you down.