Re: [Cegcc-devel] ICE error: unrecognizable insn

2010-02-09 Thread Pavel Pavlov
> > I just took latest svn cegcc and wanted to test if the loading error > > was fixed (the infamous problem that is only fixed by using upx). > > Partially. It may work for you, give it a try. > Surprisingly, I got opposite behavior with the dll binaries compiled with latest cegcc: they load f

Re: [Cegcc-devel] ICE error: unrecognizable insn

2010-02-10 Thread Pavel Pavlov
> > > I just took latest svn cegcc and wanted to test if the loading > error > > > was fixed (the infamous problem that is only fixed by using upx). > > > > Partially. It may work for you, give it a try. > > > > Surprisingly, I got opposite behavior with the dll binaries compiled > with latest ceg

Re: [Cegcc-devel] ICE error: unrecognizable insn

2010-02-11 Thread Pavel Pavlov
> > I'll try to work further from here, but you're quite welcome to beat > me > > to it :-) > > > Why are you using specific gnu attribute instead of declspec ? > Wben using declspec, does it crash ? > That was preprocessed source. Original file had _declspec(dllimport/export) -

Re: [Cegcc-devel] ICE error: unrecognizable insn

2010-02-12 Thread Pavel Pavlov
> > Danny, > > > > Could you give a link to your bugzilla report ? > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43047 > > > Would it be difficult to apply cegcc changes to the latest gcc > version > > (gcc-4.4.3) ? > > Maybe not difficult, but I am not sure what you hope to prove by that. > 4

Re: [Cegcc-devel] ICE error: unrecognizable insn

2010-02-12 Thread Pavel Pavlov
> > > > What about the other problem (that I'm getting unaligned access on > load)? > > I have src code that builds and works just fine with 4.1 build cegcc > svn.1279. The only problem with that build is that the dll has > something corrupt in the PE header and I fix it by upx-compressing it. > B

[Cegcc-devel] Ws2tcpip.h

2010-03-08 Thread Pavel Pavlov
For some reason in cegcc sdk some functions ifdefed this way: #if (_WIN32_WINNT >= 0x0501) void WSAAPI freeaddrinfo (struct addrinfo*); int WSAAPI getaddrinfo (const char*,const char*,const struct addrinfo*, struct addrinfo**); int WSAAPI getnameinfo(const struct sockaddr*,

Re: [Cegcc-devel] Ws2tcpip.h

2010-03-13 Thread Pavel Pavlov
> On Sat, 13 Mar 2010, Danny Backx wrote: > > > On Tue, 2010-03-09 at 01:41 -0500, Pavel Pavlov wrote: > >> For some reason in cegcc sdk some functions ifdefed this way: > >> > >> #if (_WIN32_WINNT >= 0x0501) > >> void WSAAPI freeaddrinfo (st

Re: [Cegcc-devel] Ws2tcpip.h

2010-03-14 Thread Pavel Pavlov
> On Sun, 2010-03-14 at 03:22 -0400, Pavel Pavlov wrote: > > > shouldn't the version of _WIN32_WCE be tested ? > > > > > > Well, wince sdk from ms doesn't have any tests, msdn says that the > api is available from ce.net 4.1 so probably that shoul

Re: [Cegcc-devel] Ws2tcpip.h

2010-03-14 Thread Pavel Pavlov
> On Sun, 2010-03-14 at 04:25 -0400, Pavel Pavlov wrote: > > Sorry, I should have give more info. Off course default vanilla armv4 > will work, > > but I need to enable armv7 + neon compilation. Currently, It won't > compile the > > code: error, unsupported ins f

Re: [Cegcc-devel] sending and receiving UDP packets

2010-03-14 Thread Pavel Pavlov
> From: SiliconBear [mailto:c...@ecafe.idv.tw] > > Dear Experts, > > I'm trying to port a simple UDP application, which ran on Linux and > Symbian, > to Windows Mobile 6.5. I was going to do a fresh MSVC project, but then > ran > into cegcc, and gave it a try. I have to say, cegcc saves me a lot

Re: [Cegcc-devel] Ws2tcpip.h

2010-03-15 Thread Pavel Pavlov
> On Sun, 2010-03-14 at 20:15 -0400, Pavel Pavlov wrote: > > > On Sun, 2010-03-14 at 04:25 -0400, Pavel Pavlov wrote: > > > > Sorry, I should have give more info. Off course default vanilla > armv4 > > > will work, > > > > but I need to enable

Re: [Cegcc-devel] Ws2tcpip.h

2010-03-15 Thread Pavel Pavlov
> On Mon, 2010-03-15 at 13:09 -0400, Pavel Pavlov wrote: > > If you are using 4.4.0, can you test this code: > > > > #include > > int main(int argc, char **argv){ > > return (long) &VirtualAlloc; > > } > > > > 1) with -march=armv5te

Re: [Cegcc-devel] Ws2tcpip.h

2010-03-15 Thread Pavel Pavlov
> -Original Message- > From: Pedro Alves [mailto:pe...@codesourcery.com] > Sent: March 15, 2010 15:46 > To: cegcc-devel@lists.sourceforge.net; danny.ba...@scarlet.be > Cc: Pavel Pavlov > Subject: Re: [Cegcc-devel] Ws2tcpip.h > > On Monday 15 March 2010 19:

Re: [Cegcc-devel] Ws2tcpip.h

2010-03-15 Thread Pavel Pavlov
> But I'm not building for thumb, on the contrary, that code I'm > compiling is performance sensitive and I don't want to use thumb at > all. > MS compilers are way behind gcc in this regard, the latest what they > support is armv5e. But it doesn't mean that you can't use instructions > supported b

Re: [Cegcc-devel] Cortex A8 support

2010-04-27 Thread Pavel Pavlov
From: InfoMail InfoMail [mailto:mirk...@gmail.com] Sent: April 27, 2010 10:54 To: cegcc-devel@lists.sourceforge.net Subject: [Cegcc-devel] Cortex A8 support Hi all, I'm trying to compile my library for Cortex A8, using the last mingw32ce toolchain. I use this compiler options: -mcpu=cortex-a8 -m

Re: [Cegcc-devel] Cortex A8 support

2010-04-27 Thread Pavel Pavlov
From: InfoMail InfoMail [mailto:mirk...@gmail.com] Sent: April 27, 2010 10:54 To: cegcc-devel@lists.sourceforge.net Subject: [Cegcc-devel] Cortex A8 support Hi all, I'm trying to compile my library for Cortex A8, using the last mingw32ce toolchain. I use this compiler options: -mcpu=cortex-a8

Re: [Cegcc-devel] status of the project

2010-06-22 Thread Pavel Pavlov
> -Original Message- > From: Vincent Richomme [mailto:foru...@smartmobili.com] > Sent: Tuesday, June 22, 2010 03:43 > To: Vincent Torri > Cc: cegcc-devel@lists.sourceforge.net > Subject: Re: [Cegcc-devel] status of the project > > On Tue, 22 Jun 2010 08:53:43 +0200 (CEST), Vincent Torri

[Cegcc-devel] Are math functions busted??.. (4.1.0 & 4.4.0)

2010-07-10 Thread Pavel Pavlov
I tried to compile x264 out of curiosity and when I finally built it I tried to run the code and got error message from x264 encoder saying that it was miscompiled. After debugging the code I found out what was the source of error and what code was miscompiled. Basically, log2 and log2f functio

[Cegcc-devel] Porting cegcc changes to latest version of cegcc

2010-07-10 Thread Pavel Pavlov
I'm thinking to update my version of cegcc to latest version of gcc. It look as the project is almost sleeping now. So, I'd like to try to take changes made in cegcc into some latest release of binutils and gcc. What's the recommended way to do it?.. I already tried to compare, but the difference

Re: [Cegcc-devel] Are math functions busted??.. (4.1.0 & 4.4.0)

2010-07-10 Thread Pavel Pavlov
log2 problem. > -Original Message- > From: Zack [mailto:f...@comcast.net] > Sent: Saturday, July 10, 2010 23:19 > To: Pavel Pavlov > Subject: Re: [Cegcc-devel] Are math functions busted??.. (4.1.0 & 4.4.0) > > I only tried using log2. Perhaps a more comprehensive tes

Re: [Cegcc-devel] Porting cegcc changes to latest version of cegcc

2010-07-12 Thread Pavel Pavlov
> -Original Message- > From: Danny Backx [mailto:danny.ba...@scarlet.be] > Cc: cegcc-devel@lists.sourceforge.net > Subject: Re: [Cegcc-devel] Porting cegcc changes to latest version of cegcc > > On Sat, 2010-07-10 at 19:41 -0400, Pavel Pavlov wrote: > > I'm

Re: [Cegcc-devel] Porting cegcc changes to latest version of cegcc

2010-07-12 Thread Pavel Pavlov
> > On 2010/07/11 10:11, Danny Backx wrote: > >> I can give you and other interested parties write access to the cegcc > >> svn if you like. > > > > Hi Danny & Pavel, > > > > I also thought about updating cegcc, but decided against it because I > > found merging/rebasing with Subversion too cumber

Re: [Cegcc-devel] Porting cegcc changes to latest version of cegcc

2010-07-12 Thread Pavel Pavlov
> -Original Message- > From: Danny Backx [mailto:danny.ba...@scarlet.be] > Sent: Monday, July 12, 2010 16:20 > To: Pavel Pavlov > Cc: cegcc-devel@lists.sourceforge.net > Subject: RE: [Cegcc-devel] Porting cegcc changes to latest version of cegcc > > On Mon, 2

[Cegcc-devel] 4.4.0 version does not generate proper code to align variables.

2010-07-13 Thread Pavel Pavlov
It appears that 4.4.0 cegcc doesn't align properly. There's a simple test code: typedef struct{ int i; short d __attribute__((aligned(16))); } test16 __attribute__((aligned(16))) ; void do_test16_dummy(void *); void do_test16_stack(int N) { test16 tmp[N]; do_test16

Re: [Cegcc-devel] Porting cegcc changes to latest version of cegcc

2010-07-15 Thread Pavel Pavlov
> > I also thought about updating cegcc, but decided against it because I > > found merging/rebasing with Subversion too cumbersome. Thought about > > doing it cleanly with git (import gcc svn with all its history, copy > > cegcc on top, rebase on latest gcc) - this way, we could easily > > extrac

Re: [Cegcc-devel] Porting cegcc changes to latest version of cegcc

2010-07-16 Thread Pavel Pavlov
> -Original Message- > From: Vincent Richomme [mailto:foru...@smartmobili.com] > Sent: Friday, July 16, 2010 16:22 > To: Pavel Pavlov > Cc: danny.ba...@scarlet.be; cegcc-devel@lists.sourceforge.net > Subject: Re: [Cegcc-devel] Porting cegcc changes to latest version of

Re: [Cegcc-devel] Porting cegcc changes to latest version of cegcc

2010-07-23 Thread Pavel Pavlov
t yet. I hope cegcc will continue to live for those of us who have normal WM phones. Remember, there is still software written for the ataris and amigas. Sebastien On Fri, Jul 23, 2010 at 10:57 AM, İsmail "cartman" Dönmez mailto:ism...@namtrac.org>> wrote: Pavel Pavlov wrote:

Re: [Cegcc-devel] Windows Phone 7 could have been jailbroken

2010-11-16 Thread Pavel Pavlov
Good news :) Pour en savoir plus ... leads to full version of the story which is in English off course. http://www.istartedsomething.com/20101113/one-small-step-for-native-code-one-big-leap-for-windows-phone-7-jailbreak/ -Original Message- From: Sébastien Lorquet [mailto:squa...@gmail

Re: [Cegcc-devel] Rd and Rm should be different in mul?

2012-02-28 Thread Pavel Pavlov
just swap Rm and Rn: mul Rd, Rn, Rm -> mul Rd, Rm, Rn read arm reference for exaplanation -Original Message- From: James Tyou [mailto:james.t...@gmail.com] Sent: Tuesday, February 28, 2012 13:43 To: cegcc-devel@lists.sourceforge.net Subject: [Cegcc-devel] Rd and Rm should be d

[Cegcc-devel] WinPhone8 and gcc, any info?

2012-05-05 Thread Pavel Pavlov
Hello all, it seems that cegcc is quite dead, or people who use it are happy with it (just like me). I'm building my code for WinPhone7 and everything worked out of the box. I mainly use cegcc for code with att-style asm, or I use gnu assembler. I compile static libs with it and link it with re

Re: [Cegcc-devel] WinPhone8 and gcc, any info?

2012-05-06 Thread Pavel Pavlov
> > Hello all, it seems that cegcc is quite dead, or people who use it > > are happy with it (just like me). > > Did you know that I published cegcc with gcc 4.6.3 and other updates? > > I started the 4.7 update, but ran into so many merge conflicts that I > postponed it. Yes, I saw that. I also