Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: 32-bit executables on sparc64
Now that gcc accepts -m32 and there are 32-bit libs
under /usr/lib/sparc, I'm trying to build a test 32-bit executable, but
get 'undefined reference' error:
ultra10$ cat test.c
#include <stdio.h>
int main(void)
{
printf("test\n");
}
ultra10$ gcc -Os -mcpu=ultrasparc -m32 test.c
/usr/lib/../lib/sparc/libc.so: undefined reference to `_strtold'
This is NetBSD-5, am I doing something wrong or this is a bug?
this should work.
it does on my 5.99.7 system.
i'll see about testing netbsd 5.0. perhaps file a PR.
.mrg.
Home |
Main Index |
Thread Index |
Old Index