ghc linking errors

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Thu May 10 02:51:59 EDT 2001


Wed, 9 May 2001 13:26:42 -0700 (PDT), Thomas Hallock <t_hallock at yahoo.com> pisze:

> _Main_main_closure
> ___init_Main

This is because your module has a different name then Main.

> __udivdi3
> __umoddi3
> __cmpdi2
> __fixunsdfdi
> __floatdidf

These symbols should be found in libgcc.a. I don't know why it's not
linked in. Is gcc able to compile & link this program?

unsigned long long i;
int main (void)
{
    i = i / 3;
}

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTÊPCZA
QRCZAK





More information about the Glasgow-haskell-bugs mailing list