[Cegcc-devel] compiled files in cegcc svn repository

2008-06-12 Thread Sébastien Lorquet
Hi, I'm currently checking out the cegcc svn repository (156 Mbytes transferred so far...) But why are there so many .class files in trunk/cegcc/src/gcc-4.3.0/libjava/classpath/lib ? Can't they be regenerated from corresponding .java files? Are they kept for compiler testing? Regards, Sebastien

Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-10 Thread Sébastien Lorquet
Hi, I think your problem is defining CC just after configure. If I were you, I would use: (define PATH to include your compiler's location) ./configure --enable-fixed --without-lapack --target=arm-wince-pe --build=i686-linux --prefix=/home/eric/WinCE/sphinxBase You'll see what compiler is neede

Re: [Cegcc-devel] mmap() limit

2008-09-10 Thread Sébastien Lorquet
This may be linked to the virtual memory space available in your process. The 2GB virtual memory space of each process is used by a lot of things, including your actual binary and all DLLs loaded at this time. IIRC the binary is loaded at low adresses but the DLLs are loaded at high adresses, and

Re: [Cegcc-devel] mmap() limit

2008-09-10 Thread Sébastien Lorquet
http://www.google.fr/search?hl=fr&q=wince+virtual+memory+problem&btnG=Rechercher&meta= http://blogs.msdn.com/ce_base/archive/2006/10/30/What-is-Virtual-Memory.aspx http://blogs.msdn.com/kitlfirst/archive/2006/01/31/520197.aspx wince < 6 has a 32 MB virtual address space it's 2GB on wince >=6 but

Re: [Cegcc-devel] Problem with using GDB

2008-09-11 Thread Sébastien Lorquet
erm, at some point you will want to run gdb-server on you real target, and connect your pda to your pc via tcpip, so that gdb will be able to upload your binary and run it remotely. This is done via "target remote". I know that gdb-wince is able to use activesync to upload the binary to your targe

Re: [Cegcc-devel] libcwd will most likely fail on international characters

2008-09-12 Thread Sébastien Lorquet
I believed multibyte strings were using UTF-8, is it true or not? 2008/9/11 Danny Backx <[EMAIL PROTECTED]> > On Thu, 2008-09-11 at 11:25 -0700, Pawel Veselov wrote: > > Hi, > > > > I was looking at the libcwd... There is a XCEGetCurrentDirectoryA() > > function. It picks the current directory, t

Re: [Cegcc-devel] build-cegcc.sh replumbing

2008-09-24 Thread Sébastien Lorquet
A mingw build is very interesting for me too. I hope we'll overcome these problems. sebastien - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Mobl

[Cegcc-devel] Fwd: Fwd: Re: question about what to do for the libpng port

2008-11-06 Thread Sébastien Lorquet
(sorry mosfet, did not check well the "To:" adress filled by gmail :( ) from cegcc web site: What's the meaning of *arm-cegcc* and *arm-mingw32ce* ? They both describe the target platform : we're building for an *ARM* processor, running the Windows CE operating system, on unknown hardware (could

Re: [Cegcc-devel] building Qt 4.5 for Windows Mobile with Cegcc: how?

2009-03-26 Thread Sébastien Lorquet
Hi, I already had you idea months ago, the qt guys told me it was not possible. http://lists.trolltech.com/pipermail/qt-wince-interest/2007-October/32.html Yes, it *should* work since - qt normal is ok with mingw normal and - the arm cpu is supported. This is more a QT linked problem I think

Re: [Cegcc-devel] Add support for pimstore

2009-06-11 Thread Sébastien Lorquet
for my information, is the following an acceptable way to find unknown constant values? #include proper header int main() { printf("PIMPR_FIRST_NAME = %d",PIMPR_FIRST_NAME ); } Regards Sebastien (PS: sorry vincent for my email, it was for the list but gmail failed the "reply to the list" ) -

Re: [Cegcc-devel] Cegcc wiki

2009-08-04 Thread Sébastien Lorquet
argh, the auto reply to was not on the list in gmail. On Tue, Aug 4, 2009 at 11:12 PM, Sébastien Lorquet wrote: > I know the sdcc project received an email to warn them that the wiki would > be deleted, and they managed to get a database dump to reinsert the data in > the new one.

[Cegcc-devel] Fwd: [sdcc-devel] Urgent: [Fwd: Wikispaces being removed from SourceForge.net 2009-07-30]

2009-08-04 Thread Sébastien Lorquet
here is the information I found on the sdcc mailing list. full thread: http://sourceforge.net/mailarchive/forum.php?thread_name=35030.84.29.191.180.1248899445.squirrel%40www.dse.nl&forum_name=sdcc-devel -- Forwarded message -- From: Maarten Brock Date: Wed, Jul 29, 2009 at 10:30

Re: [Cegcc-devel] compilation failure with MSYS

2009-11-10 Thread Sébastien Lorquet
Hi, I'm also trying to build cegcc on msys (winxp) to get rid of cygwin. cygwin is not installed on my system. I have a fresh msys install (v 1.0.11) from sourceforge, along with msys provided bison, flex and libregex. I just checked out the cegcc trunk, and ran cd /repo/cegcc/src/ mkdir build_mi

[Cegcc-devel] News about Qt

2009-11-10 Thread Sébastien Lorquet
Hi, I response to my thread ( http://lists.trolltech.com/pipermail/qt-wince-interest/2009-November/000745.html) , Maurice Kalinowski posted a git tree of a cegcc compilable Qt for windows CE ( http://lists.trolltech.com/pipermail/qt-wince-interest/2009-November/000764.html) I managed to compile Q

Re: [Cegcc-devel] News about Qt

2009-11-10 Thread Sébastien Lorquet
Okay, the certificate was required in DER format, mine was PEM. This part is solved with an openssl one-liner. I believe that if I get my .exe signed with a certificate issued by my now installed CA, the code will run. Am I true? Regards, Sebastien. ---

Re: [Cegcc-devel] News about Qt

2009-11-12 Thread Sébastien Lorquet
Hi, My device is a HTC wizard from Orange France (SPV branded) It was simlocked, I desimlocked it. The os is reported as: Microsoft Windows Mobile Version 5.0 System 5.1.195 (build 14847.2.0.0) here are my tries. -generated a self-signed CA -installed it on the device, success. -generated a key

Re: [Cegcc-devel] News about Qt

2009-11-12 Thread Sébastien Lorquet
Re-Hello, I can confirm that wget http://www.unsads.com/~squalyl/wincehello.c /opt/mingw32ce/bin/arm-mingw32ce-gcc wincehello.c -o wincehello.exe produces a valid 24.7kB executable that runs without signature on my device. So the problem does not

Re: [Cegcc-devel] compilation failure with MSYS

2009-11-15 Thread Sébastien Lorquet
Hi, do you think it's such a hard problem? or don't you have time to say "We dont know" / "We don't care" / "We don't want to support this platform because cygwin works" ? I'm not asking for a magic instant fix, but a status update would be fine. Sebastien

Re: [Cegcc-devel] compilation failure with MSYS

2009-11-15 Thread Sébastien Lorquet
pfr for i586-mingw32msvc. I think I know how to do that. Regards, Sebastien. On Sun, Nov 15, 2009 at 4:43 PM, Danny Backx wrote: > On Sun, 2009-11-15 at 16:22 +0100, Sébastien Lorquet wrote: > > do you think it's such a hard problem? or don't you have time to say > > "

Re: [Cegcc-devel] compilation failure with MSYS

2009-11-17 Thread Sébastien Lorquet
Continuing in my efforts to get a cygwin-free compiler for windows. I managed to build gmp and mpfr for i586-mingw32msvc from linux. I modified the build-mingw32ce script to add the proper --with-gmp and --with-mpfr parameters to gcc's configure when host!=build. Now the failure is at cc1-dummy.

Re: [Cegcc-devel] compilation failure with MSYS

2009-11-17 Thread Sébastien Lorquet
Some progress. This was a bug in gcc-4.4. I got gcc bootstrap for gcc 4.1 then mingw then w32api gcc was looking good... ... until it tried to compile libstdc++ arm-mingw32ce-c++ -I/home/squalyl/cegcc/cross/gcc/arm-mingw32ce/libstdc++-v3/include/arm-mingw32ce -I/home/squalyl/cegcc/cross/gcc/

[Cegcc-devel] cegcc (4.1/4.4) on windows without cygwin: sucess

2009-11-19 Thread Sébastien Lorquet
Hi, After hours of struggling in the undergrounds of configure and his friends, I now have a long awaited compiler: cegcc on windows, cygwin free. I did not use msys to build it, because I was unable to sort out the libiberty problem. I did a (n in)famous canadian cross build. For those who want t

Re: [Cegcc-devel] cegcc (4.1/4.4) on windows without cygwin: sucess

2009-11-19 Thread Sébastien Lorquet
Hi, Well I was too optimistic. The 4.4 build failed at the same place as explained before in the other thread. There's a problem with some missing _ before some symbol names. Native build is ok, but not the cross build. :( Regards Sebastien --

Re: [Cegcc-devel] can't compile under cygwin

2009-12-09 Thread Sébastien Lorquet
Hi, I'm not saying my version is perfect, but did you try this? http://www.unsads.com/~squalyl/cegcc/mingw32ce-4.1.zip I'ts cross compiled from linux for mingw. it does not rely on cygwin for running, but there should no problem to run on cygwin too. Maybe you'll have a better luck? Keep me info

Re: [Cegcc-devel] can't compile under cygwin

2009-12-09 Thread Sébastien Lorquet
//www.unsads.com/~squalyl/qtcegcc/<http://www.unsads.com/%7Esqualyl/qtcegcc/> > Did you get qt running under windows ce with cegcc? > > Regards, > Thorsten > > > > > Sébastien Lorquet schrieb: > > Hi, > > > > I'm not saying my version is perfect, but did

Re: [Cegcc-devel] Native Windows ceGCC for ReactOS ARM

2009-12-16 Thread Sébastien Lorquet
I had a build failure for the 4.4 compiler using my method. I know there are still problems with the 4.4 sources in cegcc, but this one is probably a build system issue in the upstream gcc 4.4 m4/autoconf/automake/libtool is a hell, I really don't know how to hack anything in it. :-) Regards, Seb

[Cegcc-devel] Fwd: Native Windows ceGCC for ReactOS ARM

2009-12-16 Thread Sébastien Lorquet
forwarding after a bad-reply-to failure :( Hi, I'm not 100% sure of what you want. This mail supposes you need a native win32 version of cegcc (ie windows without cygwin). If not, I'm sorry. If you search on this mailing list archive you will find my own problems to get this. I tried to use ms

Re: [Cegcc-devel] Yay (Re: More WM 6.1 work committed)

2009-12-30 Thread Sébastien Lorquet
would that be related to the SizeOfImage <= 1 limit ? :-) seb > Some remarks, DLLs produced by cegcc have a weird IAT address because > in Data Directories fields there is : > > Virtual Address Size > 00033198 0040 > > and this address doesn't even exists. > > > On

Re: [Cegcc-devel] Yay (Re: More WM 6.1 work committed)

2009-12-31 Thread Sébastien Lorquet
For the sake of my curiosity, in lib7b.objdump, what's the difference between these two symbols? [ 16](sec -1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0100 __ImageBase and [ 34](sec -1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0100 __image_base__ On Thu, Dec 31, 2009 at 12:05 PM, Danny Backx wr

Re: [Cegcc-devel] Yay (Re: More WM 6.1 work committed)

2009-12-31 Thread Sébastien Lorquet
> > Using it instead of the other symbol in my test gives no change. > > Oh well, it was worth a try :-( > you read my mind :) It had to be tried! -- This SF.Net email is sponsored by the Verizon Developer Community Take a

Re: [Cegcc-devel] Yay (Re: More WM 6.1 work committed)

2010-01-01 Thread Sébastien Lorquet
Hey guys, I want to congratulate you for finding and fixing this problem. This is a really beautiful chain of events. Happy new year! 2010 seems to be a good start for the cegcc project :) Regards Sebastien -- This SF.Ne

[Cegcc-devel] arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-26 Thread Sébastien Lorquet
Hi, I my quest trying to get a working mingw32ce version under win32 mingw (is someone interested by my (trivial) changes to the build-mingw32ce.sh script?) I had a small problem. I noticed that any program compiled with -g makes LD fail with a win32 exception dialog. The exception code is 0xC0..

Re: [Cegcc-devel] arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-29 Thread Sébastien Lorquet
at 1:54 AM, Sébastien Lorquet wrote: > Hi, > > I my quest trying to get a working mingw32ce version under win32 mingw (is > someone interested by my (trivial) changes to the build-mingw32ce.sh > script?) I had a small problem. > > I noticed that any program compiled with -g makes L

Re: [Cegcc-devel] arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-29 Thread Sébastien Lorquet
OK, export CFLAGS=-g before building seemed to be sufficient. I'm now playing with GDB and the strange thing is, it does not catch any fault. The last lines executed are: Breakpoint 1, main (argc=20, argv=0x3e4008) at /home/squalyl/projects/cegcc/src/gcc/gcc/collect2.c:756 756 in /home/squal

Re: [Cegcc-devel] arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-29 Thread Sébastien Lorquet
The last assembly lines executed at the moment of the crash are: (gdb) 636 in /home/squalyl/projects/cegcc/src/gcc/gcc/collect2.c 0x00401ea9 :8b 45 f0 mov-0x10(%ebp),%eax 0x00401eac :89 45 c8 mov%eax,-0x38(%ebp) 0x00401eaf :eb 54 jmp0x401f05 (gdb) 645

Re: [Cegcc-devel] arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-29 Thread Sébastien Lorquet
106 in /home/squalyl/projects/cegcc/src/gcc/libiberty/make-temp-file.c > 0x0040f023 : 83 ec 0c sub$0xc,%esp > 0x0040f026 : 68 97 b4 41 00 push $0x41b497 > 0x0040f02b : e8 e0 8a 00 00 call 0x417b10 > 0x0040f030 : 83 c4 10 add$0x10,%esp > 0x0040f033 : 83 ec 08

[Cegcc-devel] Fwd: arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-31 Thread Sébastien Lorquet
? mingw gurus? "vanilla binutils" gurus? It does not happen on linux. Sebastien On Sat, Jan 30, 2010 at 9:55 PM, Sébastien Lorquet wrote: > You're right. I was too sleepy to notice that. > > Now I get the sigsegv: > > C:\MinGW>c:/mingw/cross41-debug/bin/../libexec/

Re: [Cegcc-devel] Fwd: arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-31 Thread Sébastien Lorquet
Many thanks. Do I need to file something at http://sourceware.org/bugzilla/ ? Regards Sebastien On Sun, Jan 31, 2010 at 1:22 PM, Dave Korn wrote: > On 31/01/2010 11:32, Sébastien Lorquet wrote: > > > Should I report this to upstream? > > You just did :) > > > who

[Cegcc-devel] investigations about arm-mingw32ce-ar.exe failure on i586-mingw32msvc host

2010-01-31 Thread Sébastien Lorquet
Hi, see https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2942499&group_id=173455 I investigated this one too. Same as the ld one , I can't understand why this happens only in mingw and not in linux. I made an ar file decoder to find who is right, together with this ( http://en.wikipe

Re: [Cegcc-devel] investigations about arm-mingw32ce-ar.exe failure on i586-mingw32msvc host

2010-01-31 Thread Sébastien Lorquet
A "working" archive file is also invalid according to my tool. I assume it works because ld or other tools only look at the symbol table header. Sebastien -- The Planet: dedicated and managed hosting, cloud storage, coloca

Re: [Cegcc-devel] investigations about arm-mingw32ce-ar.exe failure on i586-mingw32msvc host

2010-01-31 Thread Sébastien Lorquet
this will drive me nuts. Adding a dummy.c file to the archive, containing a char test_if_this_will_fix_the_problem; (or any name, of course ;) ) fixes the problem, and the file format invalid error disappears. This will be a workaround, but we need to fix it. Sebastien -

Re: [Cegcc-devel] Fwd: arm-mingw32ce-gcc -g makes ld fail in mingw

2010-01-31 Thread Sébastien Lorquet
I'm sorry Dave, I'm afraid ld can't let me do that... hrm... well Just tried the very command you reported. My XP is SP3. C:\mingw32ce-4.1-20100125>dir Le volume dans le lecteur C n'a pas de nom. Le numéro de série du volume est 80AF-8B27 Répertoire de C:\mingw32ce-4.1-20100125 31/01/20

Re: [Cegcc-devel] investigations about arm-mingw32ce-ar.exe failure on i586-mingw32msvc host

2010-01-31 Thread Sébastien Lorquet
sorry false alarm. This does NOT fix anything. another sample output from my decoder: reading global header for C:\sources\ucvm\trunk\Debug\arm-wince\libloaderfs.a global header: ! global header ok file name: / this is the symbol lookup table file mod timestamp: 666709491344 file oid: 197232 fil

Re: [Cegcc-devel] Fwd: arm-mingw32ce-gcc -g makes ld fail in mingw

2010-02-01 Thread Sébastien Lorquet
First step: run arm-mingw32ce-gcc -g --save-temps test.c -o test.exe this crashes after quite a LONG time (several seconds). then: C:\MinGW>del test.o C:\MinGW>gcc3\bin\gdb.exe arm-mingw32ce-as.exe GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or

Re: [Cegcc-devel] Fwd: arm-mingw32ce-gcc -g makes ld fail in mingw

2010-02-01 Thread Sébastien Lorquet
Notice I pasted twice the last loop. It only happens once. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexibl

Re: [Cegcc-devel] gdbserver question

2010-03-10 Thread Sébastien Lorquet
Hi, If that helps running programs on a pocket pc without going through the cycle compile, copy to a windows pc (or a samba share), copy to pocket pc through active sync drag drop, tap on the pocket pc to start the program, etc then I'm interested :) At least I can issue debug message to a remote

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

2010-07-23 Thread Sébastien Lorquet
Everything is not over yet. There is still a large amount of windows mobile device out there that deserve cegcc. "windows phone" may be a silly thing, it's not the dominant os on the market yet. I hope cegcc will continue to live for those of us who have normal WM phones. Remember, there is sti

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

2010-11-15 Thread Sébastien Lorquet
in french: http://www.mobifrance.com/news/2010-11-15/id17714/Jailbreak-Windows-Phone-7/ Translated: The new version "Windows Phone 7" limits the user on how he can use the smartphone, compared to previous versions of Windows Mobile. The winphone7 Jailbreak race has started in various places of th

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

2010-12-16 Thread Sébastien Lorquet
I got the gcc 4.1 version of the whole arm-mingw32ce-gcc toolchain cross compiled from linux, you just need to add the proper HOST in the build scripts, and have a mingw version of gmp/mpfr. This one also cross builds fine from linux. The resulting toolchain worked fine. however gcc 4.4 fails and

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

2010-12-17 Thread Sébastien Lorquet
Hi I noticed that our next exchanges did not make it to the list because of the bad handling of lists reply-to by gmail (Harald Welte explained to me that it's a desirable feature, but I always forget to reply-to-all :-) ) Let's fix it. ===

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

2010-12-23 Thread Sébastien Lorquet
Hello, any success with my instructions, or is everyone (including me) too busy eating chocolate? :-) BTW, Merry Christmas and Happy new year to all. There are few chances that I'll post here on Dec 24. Sebastien On Fri, Dec 17, 2010 at 8:09 PM, Sébastien Lorquet wrote: > Hi >

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 Sébastien Lorquet
3: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

Re: [Cegcc-devel] COMCTL32_VERSION for PocketPC

2010-12-31 Thread Sébastien Lorquet
Can't read japanese, but that seems interesting: http://translate.google.fr/translate?hl=fr&sl=ja&tl=en&u=http%3A%2F%2Fyta.blogzine.jp%2Fweblog%2F2010%2F12%2Fpropertysheet.html I NEVER managed to get a windows mobile style on property sheet dialogs... In fact I had the exact same problem as descri

Re: [Cegcc-devel] COMCTL32_VERSION for PocketPC

2010-12-31 Thread Sébastien Lorquet
Hello, that's not what I'm currently looking for, but that's a cool project! Regards Sebastien On Fri, Dec 31, 2010 at 12:06 PM, Vincent Torri wrote: > > > On Fri, 31 Dec 2010, Sébastien Lorquet wrote: > > Can't read japanese, but that seems interestin

Re: [Cegcc-devel] Cegcc arm-mingw32ce compiled with Mingw

2011-03-04 Thread Sébastien Lorquet
some people are still forced to work with the "obsolete O$" ;-) In that case, http://www.unsads.com/~squalyl/cegcc/mingw32ce-build-mingw.zip is worth a try. Regards On Fri, Mar 4, 2011 at 9:08 AM, Vincent Torri wrote: > > > On Fri, 4 Mar 2011, Mauro Ziliani wrote: > > > Hi all. > > I'm working

Re: [Cegcc-devel] CeGCC MSYS

2011-06-06 Thread Sébastien Lorquet
Hi, yes it is. You should browse the list archive to find out how it's done. Regards, Sebastien On Mon, Jun 6, 2011 at 8:27 PM, Alessandro Antonello < antonello@gmail.com> wrote: > Hi, all. > > Is possible to build a version of CeGCC for MSYS that doesn't rely on > cygwin1.dll? > > Alessan