Subject: C++
To: NetBSD/arm32 <port-arm32@netbsd.org>
From: Patrick Welche <prlw1@cam.ac.uk>
List: port-arm32
Date: 02/10/1999 18:32:11
I thought I would try out the new binutils (especially ld!), so, I
compiled a new kernel, rebooted, and made the egcs 1.1.1, binutils
2.9.1 world of 9 Feb, statically. Then I compiled hellow.c and
hellow.cc. hellow.c worked fine, but

#include <iostream.h>

int main()
{
  cout << "Hello World!\n";
  return 0;
}

g++ hellow.cc -o hellow

gives me

Bad system call (core dumped)
...
 22746 hellow   CALL  sysarch(0,0xefbfda84)
 22746 hellow   RET   sysarch 0
 22746 hellow   CALL  [6911092]
 22746 hellow   PSIG  SIGSYS SIG_DFL
 22746 hellow   NAMI  "hellow.core"

Any thoughts? (On an unrelated note, I found symbols multiply defined
in libc and libbind. This may already be fixed - I just didn't bother
compiling named)

Cheers,

Patrick

PS. It's a new experience compiling ld on arm32 :-)