Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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?


Home | Main Index | Thread Index | Old Index