Re: Bug#191033: hugs98_98.200211-1(unstable/ia64): FTBFS: undefined reference to `main'

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
OK, so "-shared -fPIC" should work, but somehow the configure test isn't
detecting that.  Perhaps src/unix/config.log has some clues (after
running configure).

If that doesn't help, there's a kludge, since you're only dealing with
gcc: in src/unix/configure.in, change

AC_DEFINE_UNQUOTED(MKDLL_CMD, "${CC-cc} $ac_cv_dll_flags")

to

AC_DEFINE_UNQUOTED(MKDLL_CMD, "${CC-cc} -shared -fPIC")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.