Problems compiling GPC on NetBSD/sparc

Marco van de Voort marcov at stack.nl
Tue Aug 27 15:52:53 CEST 2002


> 
> <snip>
> 
> `___divdi3'
> /tmp/sky/share/bison.simple(.text+0xafc): undefined reference to
> `___udivdi3'
> /tmp/sky/share/bison.simple(.text+0xb70): undefined reference to
> `___moddi3'
> /tmp/sky/share/bison.simple(.text+0xb8c): undefined reference to
> `___umoddi3'
> 
> <snip>

These are normal on *BSD afaik. Libgcc is not automatically linked IIRC,
and probably needs explicitely a -lgcc




More information about the Gpc mailing list