GMP does not configure under Interix

Kristof Zelechovski giecrilj at stegny.2a.pl
Sat Nov 18 19:34:18 CET 2006


My build host is i586-pc-interix3, cclist is gcc icc.  But gcc causes a
segmentation violation so I had to remove it from PATH and icc is not
available, let alone installed.  Please append c89 cc at the end of this
list (Intel x86 configurations)  . LD must be set to cc because no ld is
provided.  Alas, it is hardwired on line 9927 and not configurable.  

cc is obsolete and c89 is not required to compile assembly source so feeding
it with assembly is a mistake.  Setting host to none-pc-interix3 makes
configure complete but make fails because an #included symbolic link is not
recognized as such.  To make matters worse, it cannot be fixed externally
because the variable LN_S is not externally configurable.

The following code should do the trick, more or less:

if $LN_S 'ac_noexistent.h' 'conftest.h'

AC_PREPROC_IFELSE([#include "conftest.h"], [LN_S='cp -p'])

rm -f 'conftest.h'

fi

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20061118/a43724cc/attachment.html 


More information about the gmp-bugs mailing list