Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Stefan Partheymüller
Hi, I tried to build CeGCC for Windows like explained, but I have a problem with patching the build script. When I try to patch it, with the patch tool like this: patch -p0 -i patch.diff The following errors occur: patching file build-mingw32ce.sh Hunk #1 FAILED at 49. Hunk #2 FAILED at 97. Hu

Re: [Cegcc-devel] Upstreaming patches

2010-12-28 Thread Vincent Torri
On Mon, 27 Dec 2010, Paul Sokolovsky wrote: > https://github.com/pfalcon/cegcc-w32api-try1/commit/dba53b839e04067d0ed319b61e9e61a3b24bd544 -#define PSH_MAXIMIZE0x2000 /* ?? */ 1) Why is there such comment ? 2) maybe you should let the comment in the code, even with a FIXME Vincent Torri

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Sébastien Lorquet
Hi, Okay, maybe that's an EOL problem. but the patch is so simple you could apply it by hand. I created the --gmp and --mpfr options, then passed the values to --with-gmp in gcc 's ./configure you could hardcode that for a quick test. BTW, I attached the script I used there, that you can also fi

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Stefan Partheymüller
Hi, Thank you so much! I will try both, the binary snapshot and my own build ( If I am able to manage this ;-) ) with your build script. Regards Stefan Partheymüller > > Original-Nachricht > Datum: Tue, 28 Dec 2010 11:06:21 +0100 > Von: "Sébastien Lorquet" > An:

Re: [Cegcc-devel] Upstreaming patches

2010-12-28 Thread Paul Sokolovsky
Hello, On Tue, 28 Dec 2010 10:43:13 +0100 (CET) Vincent Torri wrote: > > > On Mon, 27 Dec 2010, Paul Sokolovsky wrote: > > > https://github.com/pfalcon/cegcc-w32api-try1/commit/dba53b839e04067d0ed319b61e9e61a3b24bd544 > > -#define PSH_MAXIMIZE0x2000 /* ?? */ > > 1) Why is there such co

Re: [Cegcc-devel] _WIN32_WCE vs UNDER_CE

2010-12-28 Thread Paul Sokolovsky
Hello, On Mon, 27 Dec 2010 18:30:01 +0200 Paul Sokolovsky wrote: [] > > > > > > $ grep -r -n _WIN32_WCE --exclude-dir=.svn w32api/include/ | wc -l > > > 174 > > > > > > As w32api defines _WIN32_WCE first thing and already uses it in > > > 99% cases, maybe it should use it exclusively? > > > >

Re: [Cegcc-devel] Upstreaming patches

2010-12-28 Thread danny.ba...@scarlet.be
Read the value in an article somewhere, insufficiently verified. Danny > -#define PSH_MAXIMIZE0x2000 /* ?? */ > > 1) Why is there such comment ? Ask Danny, that was his commit. danny.ba...@scarlet.be - http://danny.backx.info Verzonden van mijn HTC -

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Stefan Partheymüller
Original-Nachricht Datum: Tue, 28 Dec 2010 13:50:42 +0100 Von: "Stefan Partheymüller" An: "Sébastien Lorquet" Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin) Hi, now I tried to compile some code for WinCE with you binary snapshot. It w

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Sébastien Lorquet
Hello, Sorry, this is beyond my abilities. In my tests, I was using code::blocks and I did not encounter this problem :( Regards Sebastien On Tue, Dec 28, 2010 at 1:54 PM, "Stefan Partheymüller" wrote: > > Original-Nachricht > Datum: Tue, 28 Dec 2010 13:50:42 +0100 > Von: "St

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Stefan Partheymüller
Hi, sorry, I was obviously too dumb :-) Now it works awesome. I didn't know, that I need the libstdc++-6.dll to run the programm. anyway, now it works perfect, thank you so much. But I can swear, in the first tests the compiler didn't know where to search for the libraries and the include files.

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Jacek M. Holeczek
Hi, sorry, but if you use "mingw32ce-g++" compiler, you should NOT need "libstdc++-6.dll". Only if you use "cegcc-g++" to compile/link you will need this dll. Jacek. On Tue, Dec 28, 2010 at 2:12 PM, "Stefan Partheymüller" wrote: > Hi, > > sorry, I was obviously too dumb :-) > Now it works awesome

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Danny Backx
With mingw32ce you will not need the cegcc library, but if you use C++ then you do need the libstdc++ either in DLL or in statically linked form. Danny On Tue, 2010-12-28 at 15:05 +0100, Jacek M. Holeczek wrote: > Hi, > sorry, but if you use "mingw32ce-g++" compiler, you should NOT need >

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Jacek M. Holeczek
Hi, > With mingw32ce you will not need the cegcc library, but if you use C++ > then you do need the libstdc++ either in DLL or in statically linked > form. Sorry, I thought that "statically linked" is actually the default for "mingw32ce". Anyhow, I just noticed "mingwm10.dll" and I do not rememb

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Vincent Torri
On Tue, 28 Dec 2010, "Stefan Partheymüller" wrote: Original-Nachricht Datum: Tue, 28 Dec 2010 13:50:42 +0100 Von: "Stefan Partheymüller" An: "Sébastien Lorquet" Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin) Hi, now I tried to comp

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Vincent Torri
On Tue, 28 Dec 2010, Jacek M. Holeczek wrote: Hi, sorry, but if you use "mingw32ce-g++" compiler, you should NOT need "libstdc++-6.dll". Only if you use "cegcc-g++" to compile/link you will need this dll. and according to the g++ version (i.e. g++ < 4.5.*), if needed (i.e. if you really use

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Stefan Partheymüller
Hi, thanks for this information. How could I link this library statically? Or how is the static library called? I only have a "libstdc++.a" and a "libstdc++.dll.a" in my lib subfolder. I tried both, but I still need the DLL. I noticed, that there is a "libstdc++-6.dll.stripped" in my lib/device

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Jacek M. Holeczek
Hi, see: http://cegcc.sourceforge.net/docs/dll.html http://cegcc.sourceforge.net/docs/index.html Hope it helps, Best regards, Jacek. On Tue, Dec 28, 2010 at 3:50 PM, "Stefan Partheymüller" wrote: > Hi, > > thanks for this information. > How could I link this library statically? Or how is the s

Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

2010-12-28 Thread Stefan Partheymüller
> Original-Nachricht > Datum: Tue, 28 Dec 2010 16:05:42 +0100 > Von: "Jacek M. Holeczek" > An: "Stefan Partheymüller" > CC: cegcc-devel@lists.sourceforge.net, danny.ba...@scarlet.be > Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use > cygwin) > >