compiling on win2000/cygwin
12034981309423883238271
vid45 at inappropriate.com
Mon Mar 17 19:57:39 CET 2003
I double checked that I have gcc-mingw (20020817-5),
mingw-runtime (2.4-1) and w32api (2.2-1) packages.
Now I have run:
CC="gcc -v -mno-cygwin" CXX="g++ -v -mno-cygwin" ./configure
make
And I see:
....
gcc -v -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -
D_FILE_O
FFSET_BITS=64 -DDVDCSS_DIST -Wsign-compare -Wall -g -O2 -MT libdvdcss.lo
-MD -MP
-MF .deps/libdvdcss.Tpo -c libdvdcss.c -DPIC
Reading specs from /usr/lib/gcc-lib/i686-pc-mingw32/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,ja
va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --with
out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-ve
rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc
-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecd
ir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/cc1.exe -lang-c -v -I. -I. -I.. -MD libdvd
css.d -MF .deps/libdvdcss.Tpo -MP -MT libdvdcss.lo -D__GNUC__=3 -
D__GNUC_MINOR__
=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -D_X86_=1 -
D_X86_=1 -Asystem=
winnt -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -
Di386 -D__i3
86 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ -D__tune_pentium2__ -
D__tune
_pentium3__ -D__stdcall=__attribute__((__stdcall__)) -D__fastcall=__attribute__(
(__fastcall__)) -D__cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((_
_stdcall__)) -D_fastcall=__attribute__((__fastcall__)) -D_cdecl=__attribute__((_
_cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D__i386 -
D__MSVCRT__ -
D__MINGW32__ -DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -DWINNT -
isystem /usr/lib/gc
c-lib/i686-pc-mingw32/3.2/../../../../include/w32api -isystem /usr/lib/gcc-lib/i
686-pc-mingw32/3.2/../../../../i686-pc-mingw32/lib/../../include/w32api -DHAVE_C
ONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -
DDVDCSS_DIST -DPIC libdvdc
ss.c -quiet -dumpbase libdvdcss.c -mno-cygwin -g -O2 -Wsign-compare -Wall -versi
on -o /cygdrive/c/DOCUME~1/jon/LOCALS~1/Temp/ccHmja6Q.s
GNU CPP version 3.2 20020927 (prerelease) (cpplib) (80386, BSD syntax)
GNU C version 3.2 20020927 (prerelease) (i686-pc-cygwin)
compiled by GNU C version 3.2 20020927 (prerelease).
ignoring nonexistent directory "/usr/local/include/mingw/mingw"
ignoring nonexistent directory "/usr/i686-pc-mingw32/include/usr/include/mingw"
ignoring duplicate directory "."
ignoring duplicate directory "/usr/i686-pc-mingw32/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
.
..
/usr/include/w32api
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include
/usr/include/mingw
End of search list.
In file included from libdvdcss.c:123:
common.h:49:1: warning: "PATH_MAX" redefined
In file included from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/limits.h:132,
from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/syslimits.h:7,
from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/limits.h:11,
from /usr/include/mingw/sys/param.h:29,
from libdvdcss.c:104:
/usr/include/mingw/limits.h:44:1: warning: this is the location of the previous
definition
It seems that I am missing some include directories or my gcc is not
looking in the correct directories... So my question now is:
How do I properly setup my cygwin devel environment? I was
under the impression that I should install cygwin with the
gcc-mingw, mingw-runtime, and w32api packages. Do I need to
also install MinGW from www.mingw.org? Or, is there anything else
I need to install? Do I need to do anything else in cygwin to get
-mno-cygwin to work properly?
I'm a bit confused. Thanks for any help.
jon
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the libdvdcss-devel
mailing list