Hi,
I try to compile polyml on MobaXterm, which is a cygwin-based distribution
for Windows.
Once I have a warning
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src
-O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -march=core2 -Wall
-fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c
src/closures.c -DDLL_EXPORT -DPIC -o src/.libs/closures.o
src/closures.c: In function 'open_temp_exec_file_name':
src/closures.c:273:8: warning: implicit declaration of function 'mkostemp';
did you mean 'mkstemp'? [-Wimplicit-function-declaration]
fd = mkostemp (name, flags);
^~~~~~~~
mkstemp
and then an error:
/bin/sh ./libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer
-fstrict-aliasing -ffast-math -march=core2 -Wall -fexceptions -o
libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo
src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/win32.lo
libtool: link: ar cru .libs/libffi_convenience.a src/.libs/prep_cif.o
src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o
src/.libs/closures.o src/x86/.libs/ffi.o src/x86/.libs/win32.o
ar: unknown option -- u
BusyBox v1.22.1 (2015-11-10 11:07:12 ) multi-call binary.
Usage: ar [-o] [-v] [-p] [-t] [-x] ARCHIVE FILES
Extract or list FILES from an ar archive
-o Preserve original dates
-p Extract to stdout
-t List
-x Extract
-v Verbose
ar version is 2.29.1 here.
I tried this on another platform, where ar, or, better say binutils has
version 2.22.52 and there is no problem.
I tried to compile binutils 2.22.52 with binutils 2.29.1 but but that failed
with the same error.
How can I make polyml to use "ar cr" instead of "ar cru"?
- Gergely
_______________________________________________
polyml mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml