Document Darwin CC requirements (see first comment)
attempting to build from source fails on os x 10.6.8 macports gcc-4.8.5
from INSTALL
./configure ABI=32 CFLAGS="-m32 -g -O2" LDFLAGS="-m32 -g -O2" \
--prefix=`pwd`/ecl-android-host \
--disable-longdouble \
--enable-libatomic=included
make -j9
builds until ...
ranlib ../libeclmin.a
ranlib: file: ../libeclmin.a(write_sse.o) has no symbols
ranlib: file: ../libeclmin.a(sse2.o) has no symbols
if [ -f CROSS-COMPILER ]; then \
touch ecl_min; \
else \
gcc -m32 -g -O2 -o ecl_min cinit.o c/all_symbols.o -L./ libeclmin.a -leclatomic -leclffi -leclgc -leclgmp -lpthread -lm ;\
fi
ld: warning: ignoring file .//libeclffi.a, file was built for archive which is not the architecture being linked (i386): .//libeclffi.a
ld: warning: ignoring file /opt/local/lib/gcc48/libgcc_ext.10.5.dylib, missing required architecture i386 in file /opt/local/lib/gcc48/libgcc_ext.10.5.dylib (1 slices)
ld: warning: ignoring file /opt/local/lib/gcc48/gcc/x86_64-apple-darwin10/4.8.5/libgcc.a, file was built for archive which is not the architecture being linked (i386): /opt/local/lib/gcc48/gcc/x86_64-apple-darwin10/4.8.5/libgcc.a
Undefined symbols for architecture i386:
"_ffi_call", referenced from:
_si_call_cfun in libeclmin.a(ffi.o)
"_ffi_closure_alloc", referenced from:
_si_make_dynamic_callback in libeclmin.a(ffi.o)
"_ffi_closure_free", referenced from:
_si_free_ffi_closure in libeclmin.a(ffi.o)
"_ffi_prep_cif", referenced from:
_prepare_cif in libeclmin.a(ffi.o)
"_ffi_prep_closure_loc", referenced from:
_si_make_dynamic_callback in libeclmin.a(ffi.o)
"_ffi_type_double", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_float", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_pointer", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_sint16", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_sint32", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_sint64", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_sint8", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_uint16", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_uint32", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_uint64", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_uint8", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
"_ffi_type_void", referenced from:
_ecl_type_to_libffi_type in libeclmin.a(ffi.o)
ld: symbol(s) not found for architecture i386
collect2: error: ld returned 1 exit status
make[1]: *** [ecl_min] Error 1
make: *** [all] Error 2