Re: [Tigervnc-devel] building with MinGW

2010-05-06 Thread Adam Tkac
On Thu, May 06, 2010 at 05:29:06AM +0700, Antoine Martin wrote: [snip] You can read how to rebuild rpm on http://www.linuxweblog.com/patch-rebuild-rpm, for example. Note that %_topdir macro is not /usr/src/redhat/ but ~/rpmbuild/. Simply put the patch to ~/rpmbuild/SOURCES directory and apply

Re: [Tigervnc-devel] building with MinGW

2010-05-05 Thread Antoine Martin
[snip] You can read how to rebuild rpm on http://www.linuxweblog.com/patch-rebuild-rpm, for example. Note that %_topdir macro is not /usr/src/redhat/ but ~/rpmbuild/. Simply put the patch to ~/rpmbuild/SOURCES directory and apply it as written in chapter 6. Adding the patch to the package. You

Re: [Tigervnc-devel] building with MinGW

2010-05-03 Thread Antoine Martin
There is also /usr/bin/mingw32-configure script which I use on Fedora. Simply call it instead of ./configure in the tigervnc/trunk directory :) Thx, re-re-cap (for others): yum install mingw32-gcc-c++ mingw32-w32api mingw32-gcc mingw32-binutils cd tigervnc/trunk autoreconf -fi

Re: [Tigervnc-devel] building with MinGW

2010-05-03 Thread Adam Tkac
On Mon, May 03, 2010 at 06:58:15PM +0700, Antoine Martin wrote: Then I found your post: http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg00434.html Which points to this patch: http://sourceforge.net/tracker/?func=detailatid=302435aid=2877129group_id=2435 Which has already

Re: [Tigervnc-devel] building with MinGW

2010-05-03 Thread Antoine Martin
On 05/03/2010 07:22 PM, Adam Tkac wrote: On Mon, May 03, 2010 at 06:58:15PM +0700, Antoine Martin wrote: Then I found your post: http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg00434.html Which points to this patch:

Re: [Tigervnc-devel] building with MinGW

2010-04-30 Thread Pierre Ossman
On Fri, 30 Apr 2010 04:10:57 +0700 Antoine Martin anto...@nagafix.co.uk wrote: /bin/sh ./libtool --tag=CXX --mode=link g++ -O3 -o jpgtest.exe g++ here is wrong. Did you install mingw32-gcc-c++? You need to do a make clean and rerun configure after you've installed it. Make -- Pierre

Re: [Tigervnc-devel] building with MinGW

2010-04-30 Thread Antoine Martin
On 04/30/2010 02:25 PM, Pierre Ossman wrote: On Fri, 30 Apr 2010 04:10:57 +0700 Antoine Martinanto...@nagafix.co.uk wrote: /bin/sh ./libtool --tag=CXX --mode=link g++ -O3 -o jpgtest.exe g++ here is wrong. Did you install mingw32-gcc-c++? You need to do a make clean and

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Antoine Martin
On 04/29/2010 05:59 AM, DRC wrote: Yes, in the trunk. Good. Do you use MinGW on Windows or as a cross compiler on some other platform? I'm new to mingw (and using it as cross compiler), so I dont really know how to proceed past: cd tigervnc/trunk/win Any more pointers would be much

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread DRC
The Cendio folks can best answer how to use it as a cross-compiler on Linux. I use it in a Windows virtual machine running on a Mac. :) I haven't had time to look into the issues I was having with the Windows build previously, but I'll be sure to post my findings. On 4/29/10 1:49 PM, Antoine

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Peter Åstrand
Do you use MinGW on Windows or as a cross compiler on some other platform? I'm new to mingw (and using it as cross compiler), so I dont really know how to proceed past: cd tigervnc/trunk/win Any more pointers would be much appreciated. Use a distro that includes MinGW, such as recent Fedora

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Antoine Martin
On 04/30/2010 03:29 AM, Peter Åstrand wrote: Do you use MinGW on Windows or as a cross compiler on some other platform? I'm new to mingw (and using it as cross compiler), so I dont really know how to proceed past: cd tigervnc/trunk/win Any more pointers would be much appreciated. Use a

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Antoine Martin
On 04/30/2010 04:10 AM, Antoine Martin wrote: On 04/30/2010 03:29 AM, Peter Åstrand wrote: Do you use MinGW on Windows or as a cross compiler on some other platform? I'm new to mingw (and using it as cross compiler), so I dont really know how to proceed past: cd tigervnc/trunk/win Any