public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* Building using MSYS/MSVC
       [not found] <CABeoYTiS8OmbpxsW3vTyyFFivkZnoEWWgUvw0YUwKixKoUY1cQ@mail.gmail.com>
@ 2012-08-10 10:31 ` Someone Somebody
  0 siblings, 0 replies; only message in thread
From: Someone Somebody @ 2012-08-10 10:31 UTC (permalink / raw)
  To: libffi-discuss

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Hi,

I'm trying to build this library using msys/msvc

I managed to get the build too run but when I try to make install
it gives me an error, apparently about libffi.lib not being created...

It seems that the static library and import libraries for the DLL are
not being created during compilation...

The commands I use to build, on an msys shell with visual studio tools
in the path (It happens with and without the prefix option):
configure CC=/c/libffi-3.0.11/msvcc.sh LD=link CPP="cl -nologo -EP"
--prefix=/c/libffi
make
make install

Attached are the output of the commands (extra being stderr output
that somehow was not captured even with 2>&1)

[-- Attachment #2: configure_log.txt --]
[-- Type: text/plain, Size: 6084 bytes --]

checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
continue configure in default builddir "./i686-pc-mingw32"
....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=i686-pc-mingw32" "mingw32"
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for gsed... sed
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... /c/libffi-3.0.11/msvcc.sh
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... obj
checking whether we are using the GNU C compiler... no
checking whether /c/libffi-3.0.11/msvcc.sh accepts -g... yes
checking for /c/libffi-3.0.11/msvcc.sh option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /c/libffi-3.0.11/msvcc.sh... none
checking dependency style of /c/libffi-3.0.11/msvcc.sh... none
checking whether /c/libffi-3.0.11/msvcc.sh and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for non-GNU ld... link
checking if the linker (link) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... no, using cp -p
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32
checking how to convert i686-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for link option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm output from /c/libffi-3.0.11/msvcc.sh object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... yes
checking how to run the C preprocessor... cl -nologo -EP
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... yes
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking for /c/libffi-3.0.11/msvcc.sh option to produce PIC... -DDLL_EXPORT -DPIC
checking if /c/libffi-3.0.11/msvcc.sh PIC flag -DDLL_EXPORT -DPIC works... yes
checking if /c/libffi-3.0.11/msvcc.sh static flag  works... yes
checking if /c/libffi-3.0.11/msvcc.sh supports -c -o file.obj... yes
checking if /c/libffi-3.0.11/msvcc.sh supports -c -o file.obj... (cached) yes
checking whether the /c/libffi-3.0.11/msvcc.sh linker (link) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for C compiler vendor... microsoft

********************************************************
* WARNING: Don't know the best CFLAGS for this system  *
* Use ./configure CFLAGS=... to specify your own flags *
* (otherwise, a default of CFLAGS=-O3 will be used)    *
********************************************************

checking whether C compiler accepts -O3... yes
checking CFLAGS for maximum warnings... -warn all
checking whether to enable maintainer-specific portions of Makefiles... no
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking for mmap... no
checking for sys/mman.h... (cached) no
checking for mmap... (cached) no
checking for ANSI C header files... (cached) yes
checking for memcpy... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... no
checking whether `alloca.c' needs Cray hooks... no
checking stack direction for C alloca... -1
checking size of double... 0
checking size of long double... 0
checking whether byte ordering is bigendian... yes
checking assembler .cfi pseudo-op support... no
checking assembler supports pc related relocs... no
checking assembler .ascii pseudo-op support... no
checking assembler .string pseudo-op support... no
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: linking ../src/x86/ffitarget.h to include/ffitarget.h
config.status: executing buildir commands
config.status: create top_srcdir/Makefile guessed from local Makefile
config.status: build in i686-pc-mingw32 (HOST=)
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands

[-- Attachment #3: configure_log_extra.txt --]
[-- Type: text/plain, Size: 144 bytes --]

cl : Command line warning D9002 : ignoring unknown option '-print-multi-os-direc
tory'
cl : Command line error D8003 : missing source filename

[-- Attachment #4: make_install_log.txt --]
[-- Type: text/plain, Size: 2434 bytes --]

MAKE i686-pc-mingw32 : 0 * install
make[1]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32'
Making install in include
make[2]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/include'
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/include'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/c/libffi/lib/libffi-3.0.11/include" || /bin/mkdir -p "/c/libffi/lib/libffi-3.0.11/include"
 /bin/install -c -m 644 ffi.h ffitarget.h '/c/libffi/lib/libffi-3.0.11/include'
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/include'
make[2]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/include'
Making install in testsuite
make[2]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/testsuite'
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/testsuite'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/testsuite'
make[2]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/testsuite'
Making install in man
make[2]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/man'
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/man'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/c/libffi/share/man/man3" || /bin/mkdir -p "/c/libffi/share/man/man3"
 /bin/install -c -m 644 ../../man/ffi.3 ../../man/ffi_call.3 ../../man/ffi_prep_cif.3 ../../man/ffi_prep_cif_var.3 '/c/libffi/share/man/man3'
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/man'
make[2]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/man'
make[2]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32'
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32'
test -z "/c/libffi/lib" || /bin/mkdir -p "/c/libffi/lib"
 /bin/sh ./libtool   --mode=install /bin/install -c   libffi.la '/c/libffi/lib'
libtool: install: /bin/install -c .libs/libffi-6.dll /c/libffi/lib/libffi-6.dll
libtool: install: (cd /c/libffi/lib && { cp -p -f libffi-6.dll libffi.lib || { rm -f libffi.lib && cp -p libffi-6.dll libffi.lib; }; })
libtool: install: /bin/install -c .libs/libffi.lai /c/libffi/lib/libffi.la
libtool: install: /bin/install -c .libs/libffi.lib /c/libffi/lib/libffi.lib
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32'
make[2]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32'
make[1]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32'

[-- Attachment #5: make_install_log_extra.txt --]
[-- Type: text/plain, Size: 224 bytes --]

/bin/install: cannot stat `.libs/libffi.lib': No such file or directory
make[3]: *** [install-libLTLIBRARIES] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

[-- Attachment #6: make_log.txt --]
[-- Type: text/plain, Size: 10727 bytes --]

MAKE i686-pc-mingw32 : 0 * all-all
make[1]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32'
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-O3 -warn all" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c" "INSTALL_SCRIPT=/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /c/libffi-3.0.11/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/c/libffi" "infodir=/c/libffi/share/info" "libdir=/c/libffi/lib" "mandir=/c/libffi/share/man" "prefix=/c/libffi" "AR=ar" "AS=as" "CC=/c/libffi-3.0.11/msvcc.sh" "CXX=g++" "LD=link" "NM=/mingw/bin/nm" "RANLIB=ranlib" "DESTDIR=" all-recursive
make[2]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32'
Making all in include
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/include'
Making all in testsuite
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/testsuite'
Making all in man
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32/man'
make[3]: Entering directory `/c/libffi-3.0.11/i686-pc-mingw32'
source='../src/prep_cif.c' object='src/prep_cif.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/sh ../depcomp \
	/bin/sh ./libtool --tag=CC   --mode=compile /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -DFFI_BUILDING  -g  -O3 -warn all -c -o src/prep_cif.lo ../src/prep_cif.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/prep_cif.c  -DDLL_EXPORT -DPIC -o src/.libs/prep_cif.obj
cl -MD -nologo -W3 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -Zi -DEBUG -O3 -OPT:REF -OPT:ICF -INCREMENTAL:NO -warn all -c ../src/prep_cif.c -DDLL_EXPORT -DPIC -Fosrc/.libs/prep_cif.obj -Fdsrc/.libs/prep_cif -Fpsrc/.libs/prep_cif -Fasrc/.libs/prep_cif
prep_cif.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/prep_cif.c -o src/prep_cif.obj >/dev/null 2>&1
source='../src/types.c' object='src/types.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/sh ../depcomp \
	/bin/sh ./libtool --tag=CC   --mode=compile /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -DFFI_BUILDING  -g  -O3 -warn all -c -o src/types.lo ../src/types.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/types.c  -DDLL_EXPORT -DPIC -o src/.libs/types.obj
cl -MD -nologo -W3 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -Zi -DEBUG -O3 -OPT:REF -OPT:ICF -INCREMENTAL:NO -warn all -c ../src/types.c -DDLL_EXPORT -DPIC -Fosrc/.libs/types.obj -Fdsrc/.libs/types -Fpsrc/.libs/types -Fasrc/.libs/types
types.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/types.c -o src/types.obj >/dev/null 2>&1
source='../src/raw_api.c' object='src/raw_api.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/sh ../depcomp \
	/bin/sh ./libtool --tag=CC   --mode=compile /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -DFFI_BUILDING  -g  -O3 -warn all -c -o src/raw_api.lo ../src/raw_api.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/raw_api.c  -DDLL_EXPORT -DPIC -o src/.libs/raw_api.obj
cl -MD -nologo -W3 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -Zi -DEBUG -O3 -OPT:REF -OPT:ICF -INCREMENTAL:NO -warn all -c ../src/raw_api.c -DDLL_EXPORT -DPIC -Fosrc/.libs/raw_api.obj -Fdsrc/.libs/raw_api -Fpsrc/.libs/raw_api -Fasrc/.libs/raw_api
raw_api.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/raw_api.c -o src/raw_api.obj >/dev/null 2>&1
source='../src/java_raw_api.c' object='src/java_raw_api.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/sh ../depcomp \
	/bin/sh ./libtool --tag=CC   --mode=compile /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -DFFI_BUILDING  -g  -O3 -warn all -c -o src/java_raw_api.lo ../src/java_raw_api.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/java_raw_api.c  -DDLL_EXPORT -DPIC -o src/.libs/java_raw_api.obj
cl -MD -nologo -W3 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -Zi -DEBUG -O3 -OPT:REF -OPT:ICF -INCREMENTAL:NO -warn all -c ../src/java_raw_api.c -DDLL_EXPORT -DPIC -Fosrc/.libs/java_raw_api.obj -Fdsrc/.libs/java_raw_api -Fpsrc/.libs/java_raw_api -Fasrc/.libs/java_raw_api
java_raw_api.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/java_raw_api.c -o src/java_raw_api.obj >/dev/null 2>&1
source='../src/closures.c' object='src/closures.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/sh ../depcomp \
	/bin/sh ./libtool --tag=CC   --mode=compile /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -DFFI_BUILDING  -g  -O3 -warn all -c -o src/closures.lo ../src/closures.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/closures.c  -DDLL_EXPORT -DPIC -o src/.libs/closures.obj
cl -MD -nologo -W3 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -Zi -DEBUG -O3 -OPT:REF -OPT:ICF -INCREMENTAL:NO -warn all -c ../src/closures.c -DDLL_EXPORT -DPIC -Fosrc/.libs/closures.obj -Fdsrc/.libs/closures -Fpsrc/.libs/closures -Fasrc/.libs/closures
closures.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/closures.c -o src/closures.obj >/dev/null 2>&1
source='../src/x86/ffi.c' object='src/x86/ffi.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/sh ../depcomp \
	/bin/sh ./libtool --tag=CC   --mode=compile /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -DFFI_BUILDING  -g  -O3 -warn all -c -o src/x86/ffi.lo ../src/x86/ffi.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/x86/ffi.c  -DDLL_EXPORT -DPIC -o src/x86/.libs/ffi.obj
cl -MD -nologo -W3 -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -Zi -DEBUG -O3 -OPT:REF -OPT:ICF -INCREMENTAL:NO -warn all -c ../src/x86/ffi.c -DDLL_EXPORT -DPIC -Fosrc/x86/.libs/ffi.obj -Fdsrc/x86/.libs/ffi -Fpsrc/x86/.libs/ffi -Fasrc/x86/.libs/ffi
ffi.c
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O3 -warn all -c ../src/x86/ffi.c -o src/x86/ffi.obj >/dev/null 2>&1
source='../src/x86/win32.S' object='src/x86/win32.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/sh ../depcomp \
	/bin/sh ./libtool   --mode=compile /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src -DFFI_BUILDING  -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g  -c -o src/x86/win32.lo ../src/x86/win32.S
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -c ../src/x86/win32.S  -DDLL_EXPORT -DPIC -o src/x86/.libs/win32.obj
cl -nologo -EP  -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src  -DHAVE_CONFIG_H -DFFI_BUILDING -DFFI_BUILDING -DDLL_EXPORT -DPIC ../src/x86/win32.S > src/x86/.libs/win32.asm
ml -nologo -safeseh -c -Fosrc/x86/.libs/win32.obj src/x86/.libs/win32.asm
 Assembling: src/x86/.libs/win32.asm
libtool: compile:  /c/libffi-3.0.11/msvcc.sh -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -c ../src/x86/win32.S -o src/x86/win32.obj >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link /c/libffi-3.0.11/msvcc.sh -g  -O3 -warn all -version-info `grep -v '^#' ../libtool-version`  -no-undefined -bindir "/c/libffi/bin"  -o libffi.la -rpath /c/libffi/lib 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: /c/libffi-3.0.11/msvcc.sh -o .libs/libffi-6.dll  src/.libs/prep_cif.obj src/.libs/types.obj src/.libs/raw_api.obj src/.libs/java_raw_api.obj src/.libs/closures.obj src/x86/.libs/ffi.obj src/x86/.libs/win32.obj   -O3   `func_echo_all "" | /bin/sed 's/ -lc$//'` -link -dll
cl -MD -nologo -W3 -Fe.libs/libffi-6.dll -Fd.libs/libffi-6 -Fp.libs/libffi-6 -Fa.libs/libffi-6 src/.libs/prep_cif.obj src/.libs/types.obj src/.libs/raw_api.obj src/.libs/java_raw_api.obj src/.libs/closures.obj src/x86/.libs/ffi.obj src/x86/.libs/win32.obj -O3 -OPT:REF -OPT:ICF -INCREMENTAL:NO -link -dll
libtool: link: linknames=
libtool: link: true
libtool: link: ( cd ".libs" && rm -f "libffi.la" && cp -p "../libffi.la" "libffi.la" )
/bin/sh ./libtool --tag=CC   --mode=link /c/libffi-3.0.11/msvcc.sh -g  -O3 -warn all   -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: lib -OUT:.libs/libffi_convenience.lib src/.libs/prep_cif.obj src/.libs/types.obj src/.libs/raw_api.obj src/.libs/java_raw_api.obj src/.libs/closures.obj src/x86/.libs/ffi.obj src/x86/.libs/win32.obj 
Microsoft (R) Library Manager Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && cp -p "../libffi_convenience.la" "libffi_convenience.la" )
make[3]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32'
make[2]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32'
make[1]: Leaving directory `/c/libffi-3.0.11/i686-pc-mingw32'

[-- Attachment #7: make_log_extra.txt --]
[-- Type: text/plain, Size: 14962 bytes --]

cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
$  : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
$  : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
$  : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
win32.S
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'

Segev@Segev-PC /c/libffi-3.0.11
$ cd ..

Segev@Segev-PC /c
$ cd libffi-3.0.11/

Segev@Segev-PC /c/libffi-3.0.11
$ configure CC=/c/libffi-3.0.11/msvcc.sh  LD=link CPP="cl -nologo -EP" --prefix
=/c/libffi 2>&1 > configure_log.txt
cl : Command line warning D9002 : ignoring unknown option '-print-multi-os-direc
tory'
cl : Command line error D8003 : missing source filename

Segev@Segev-PC /c/libffi-3.0.11
$ make 2>&1 > make_log.txt
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-warn'
cl : Command line warning D9024 : unrecognized source file type 'all', object fi
le assumed
cl : Command line warning D9027 : source file 'all' ignored
win32.S
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OR'
cl : Command line warning D9002 : ignoring unknown option '-OE'
cl : Command line warning D9002 : ignoring unknown option '-OF'
cl : Command line warning D9002 : ignoring unknown option '-OP'
cl : Command line warning D9002 : ignoring unknown option '-OT'
cl : Command line warning D9002 : ignoring unknown option '-O:'
cl : Command line warning D9002 : ignoring unknown option '-OI'
cl : Command line warning D9002 : ignoring unknown option '-OC'
cl : Command line warning D9002 : ignoring unknown option '-OF'


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-10 10:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CABeoYTiS8OmbpxsW3vTyyFFivkZnoEWWgUvw0YUwKixKoUY1cQ@mail.gmail.com>
2012-08-10 10:31 ` Building using MSYS/MSVC Someone Somebody

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).