[vlc-devel] Re: compiling mozilla (firefox) plugin for VLC under win32 cygwin env
Jean-Paul Saman
jean-paul.saman at planet.nl
Tue Apr 26 23:14:37 CEST 2005
Aaron,
Thank you for your information. I used a modified version for your info
to update the mozilla plugin building howto to include a section on
building under Cygwin.
Aaron Lee wrote:
>I finally got mozilla plugin working and built on cygwin Win32 platform.
>
>Step 1:
>download gecko for cygwin sdk and a few other libraries
>
>ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.6/gecko-sdk-i586-pc-cygwin-1.7.6.zip
>and then
>extract libIDL-0.6.dll from libIDL-0.6.3-win32-bin.zip and put it into
>C:\gecko-sdk\bin
>extract glib-1.2.dll from vc71-glib-1.2.10-bin.zip and put it into
>C:\gecko-sdk\bin
>The two DLLs can be downloaded from:
>ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/
>
>Step 2:
>Modify configure.ac to remove -lembedstring because we don't need it
>
>Step 3.
>The configure.ac has some hard wired path to XPIDL and XPIDL_INCL so I
>instead modify the mozilla's Makefile for a one-time hack. I did try
>export the two variables before running configure but didn't work.
>
>XPIDL = /cygdrive/d/gecko-sdk/bin/xpidl.exe
>XPIDL_INCL = -I"c:\gecko-sdk/idl"
>
>
Using XPIDL="" and XPIDL_INCL="" should just work even when exported.
Just like CPPFLAGS, etc. work. I guess you made a slight mistake there.
>Step 4.
>export CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml
>-I/cygdrive/d/gecko-sdk/include"
>export LDFLAGS="-L/usr/win32/lib -L/cygdrive/d/gecko-sdk/lib"
>
>Step 5.
>Add --enable-mozilla --with-mozilla-sdk-path=/cygdrive/c/gecko-sdk to
>your configure params.
>
>-Aaron
>
>
Greetings,
Jean-Paul Saman.
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list