* Problems compiling libffi on mingw32 with GNU Make 3.82
@ 2013-03-22 12:39 ChristophK
2013-03-22 14:09 ` LRN
0 siblings, 1 reply; 2+ messages in thread
From: ChristophK @ 2013-03-22 12:39 UTC (permalink / raw)
To: libffi-discuss
Hi,
I'm trying to build libffi on Windows 7 64bit using mingw32 and
GNU Make 3.82.
./configure works fine, but make doesn't - please have a look what
happens in the output of the console below.
Regards
Christoph
----
christoph@HTPC /k/daten/programmierung/libraries/libffi-3.0.13
$ ./configure
[Lots of output removed - no errors]
christoph@HTPC /k/daten/programmierung/libraries/libffi-3.0.13
$ mingw32-make -v
GNU Make 3.82
Built for i386-pc-mingw32
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html> This is free software: you are free
to change and redistribute it. There is NO WARRANTY, to the extent
permitted by law.
christoph@HTPC /k/daten/programmierung/libraries/libffi-3.0.13
$ mingw32-make
Makefile:2394: warning: overriding recipe for target `tags'
Makefile:2382: warning: ignoring old recipe for target `tags'
Makefile:2416: warning: overriding recipe for target `ctags'
Makefile:2405: warning: ignoring old recipe for target `ctags'
MAKE i686-pc-mingw32 : 0 * all-all
mingw32-make[1]: Entering directory
`k:/daten/programmierung/libraries/libffi-3. 0.13/i686-pc-mingw32'
C:/MinGW/bin/mingw32-make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-O3
-fomit-frame-p ointer -fstrict-aliasing -ffast-math -march=core2 -Wall
-fexceptions" "CXXFLAGS =" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET="
"INSTALL=/bin/install -c" "INSTALL_D ATA=/bin/install -c -m 644"
"INSTALL_PROGRAM=/bin/install -c" "INSTALL_SCRIPT=/b in/install -c"
"JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE
=C:/MinGW/bin/mingw32-make"
"MAKEINFO=C:/MinGW/msys/1.0/bin/sh.exe /k/daten/prog
rammierung/libraries/libffi-3.0.13/missing --run makeinfo " "PICFLAG="
"PICFLAG_ FOR_TARGET=" "RUNTESTFLAGS="
"SHELL=C:/MinGW/msys/1.0/bin/sh.exe" "exec_prefix=/ usr/local"
"infodir=/usr/local/share/info" "libdir=/usr/local/lib" "mandir=/usr/
local/share/man" "prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc" "CXX=g++"
"LD=c:/m ingw/mingw32/bin/ld.exe" "NM=/mingw/bin/nm" "RANLIB=ranlib"
"DESTDIR=" all-recur sive C:\MinGW\bin\mingw32-make: invalid option --
a C:\MinGW\bin\mingw32-make: invalid option -- c C:\MinGW\bin
\mingw32-make: invalid option -- = C:\MinGW\bin\mingw32-make: invalid
option -- c C:\MinGW\bin\mingw32-make: invalid option -- c C:\MinGW\bin
\mingw32-make: invalid option -- C:\MinGW\bin\mingw32-make: invalid
option -- c C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option --
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option --
C:\MinGW\bin\mingw32-make: invalid option -- J
C:\MinGW\bin\mingw32-make: unrecognized option `--run'
Usage: mingw32-make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging
information. -e, --environment-overrides
Environment variables override makefiles.
--eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with
no arg. -k, --keep-going Keep going when some targets can't
be made. -l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is
below N. -L, --check-symlink-times Use the latest mtime between
symlinks and target. -n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print
them. -o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't
remake it. -p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to
date. -r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on
implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is
referenced.
This program built for i386-pc-mingw32
Report bugs to <bug-make@gnu.org>
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory
`k:/daten/programmierung/libraries/libffi-3.0 .13/i686-pc-mingw32'
mingw32-make: *** [all-all] Error 2
christoph@HTPC /k/daten/programmierung/libraries/libffi-3.0.13
$
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problems compiling libffi on mingw32 with GNU Make 3.82
2013-03-22 12:39 Problems compiling libffi on mingw32 with GNU Make 3.82 ChristophK
@ 2013-03-22 14:09 ` LRN
0 siblings, 0 replies; 2+ messages in thread
From: LRN @ 2013-03-22 14:09 UTC (permalink / raw)
To: libffi-discuss
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 22.03.2013 16:38, ChristophK wrote:
> Hi,
>
> I'm trying to build libffi on Windows 7 64bit using mingw32 and GNU
> Make 3.82.
>
> ./configure works fine, but make doesn't - please have a look what
> happens in the output of the console below.
>
> Regards Christoph
>
> ----
>
> christoph@HTPC /k/daten/programmierung/libraries/libffi-3.0.13 $
> ./configure
>
> [Lots of output removed - no errors]
>
>
> christoph@HTPC /k/daten/programmierung/libraries/libffi-3.0.13 $
> mingw32-make -v GNU Make 3.82 Built for i386-pc-mingw32 Copyright
> (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL
> version 3 or later <http://gnu.org/licenses/gpl.html> This is free
> software: you are free to change and redistribute it. There is NO
> WARRANTY, to the extent permitted by law.
>
>
> christoph@HTPC /k/daten/programmierung/libraries/libffi-3.0.13 $
> mingw32-make
You must use msys make (/usr/bin/make.exe) with ./configure, not
mingw32-make.
To install msys-make, use `mingw-get install msys-make', or download
appropriate packages from sourceforge yourself and unpack them into
msys root directory.
mingw32-make is ONLY for running special makefiles that are generated
specifically for mingw32 (don't have *nix-style /-paths, don't invoke
*nix utilities, such as `cp', `rm', `install'). Such makefiles are
either crafted manually (and no one likes to maintain them, and they
go stale very fast), or made by non-autotools generators (such as CMake).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRTGXiAAoJEOs4Jb6SI2CwkYUIAKFeFCzA7wdZbpAJo9g+IIds
jzen8aJlvkcrVhtudgnv3JJ26FZ81J3uYJV8bD/JCcv/N6Y/lRcDolL9k7ZdblTf
R5TSIH867Fp1eGLrhTwl+WS1tlsN8Yb7hmYYE5uVFmnlG7q6+IR4t1mi95+S3xB0
eToSbDeWuKcg61YgKXQKsoVzFSmC8Z22jR4cWh+npPPrC+iN6c0o6lmEHbO7c9Dd
uglUGjhrsK6aM9pZ8jWy9bZxADq6tMoH9y5rpO1zTjFpnKH8RlMEH22CFvx7Lv6m
L9X6UFCmb78aMI9bvILS+Ww/aL1YTuNkg52V4HLwQOwPdmm2hyOHMritR4ROWOc=
=oe9m
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-22 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-22 12:39 Problems compiling libffi on mingw32 with GNU Make 3.82 ChristophK
2013-03-22 14:09 ` LRN
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).