Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 32-bit executables on sparc64
http://www.gnu.org/software/libc/manual/html_node/index.html#toc_Introduction
I was searching for some thing similar to -ldthreads from memory. But
Could not find.
might be you will have to give an extra linker option for glibc.
On Mon, May 11, 2009 at 8:21 AM, <raymond.meyer%rambler.ru@localhost> wrote:
> 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?
>
--
-- Sujit K M
Home |
Main Index |
Thread Index |
Old Index