Re: [Cegcc-devel] arm-mingw32ce and eabi_attribute

2009-07-08 Thread İsmail Dönmez
On Wed, Jul 8, 2009 at 9:32 PM, Pedro Alves wrote: > On Wednesday 08 July 2009 16:13:15, İsmail Dönmez wrote: >> Is this a known problem ? > > Yes, these are eabi tags, only implemented on arm *elf* targets. Thanks, this explains the problem clearly. Hopefully next time Google will show this answe

Re: [Cegcc-devel] arm-mingw32ce and eabi_attribute

2009-07-08 Thread Pedro Alves
On Wednesday 08 July 2009 16:13:15, İsmail Dönmez wrote: > Is this a known problem ? Yes, these are eabi tags, only implemented on arm *elf* targets. -- Pedro Alves -- Enter the BlackBerry Developer Challenge This is

Re: [Cegcc-devel] getenv/setenv

2009-07-08 Thread Vincent Torri
On Wed, 8 Jul 2009, Klaus Rechert wrote: > Hi, > > take a look at > > http://svn.enlightenment.org/svn/e/trunk/PROTO/evil/ note that this is a trick. I just managed the registrery to simulate setenv/getenv/putenv. Contrary to the unix commands, the environment variables created by those funct

Re: [Cegcc-devel] getenv/setenv

2009-07-08 Thread Vincent Torri
On Wed, 8 Jul 2009, mobi phil wrote: cegcc library implements its own getenv/setenv... I wanted to know under witch registry key... i don't think that cegcc uses a registry key, but use instead a static buffer Vincent what about the kernel driver ? On Wed, Jul 8, 2009 at 6:02 PM, Vin

Re: [Cegcc-devel] getenv/setenv

2009-07-08 Thread mobi phil
cegcc library implements its own getenv/setenv... I wanted to know under witch registry key... what about the kernel driver ? On Wed, Jul 8, 2009 at 6:02 PM, Vincent Torri wrote: > > > On Wed, 8 Jul 2009, Klaus Rechert wrote: > > Hi, >> >> take a look at >> >> http://svn.enlightenment.org/svn/

Re: [Cegcc-devel] getenv/setenv

2009-07-08 Thread Klaus Rechert
Hi, take a look at http://svn.enlightenment.org/svn/e/trunk/PROTO/evil/ There is already an implementation available. Cheers Klaus > Hello, > > what is the model fer getenv/setenv? I tried to set values in > HKCU/env, but does not seem to work... > > the registry is not the best thing

[Cegcc-devel] getenv/setenv

2009-07-08 Thread mobi phil
Hello, what is the model fer getenv/setenv? I tried to set values in HKCU/env, but does not seem to work... the registry is not the best thing probably... I wonder if one could write a driver that would extend the kernel data associated to the processes among others environmnt etc. -- rgrds, mo

Re: [Cegcc-devel] Problem compiling SVN trunk

2009-07-08 Thread İsmail Dönmez
Hi; On Wed, Jul 8, 2009 at 5:11 PM, Danny Backx wrote: > > On Wed, 2009-07-08 at 10:35 +0300, İsmail Dönmez wrote: > > I am trying to compile svn trunk on Gentoo with gcc 4.3.2, but the > > compilation fails with the following error: > [..] > > Creating library file: .libs/libssp.dll.a > > .libs/

[Cegcc-devel] arm-mingw32ce and eabi_attribute

2009-07-08 Thread İsmail Dönmez
Hi; FFmpeg has some assembler code like this: [...] .macro require8, val=1 .eabi_attribute 24, \val .endm .macro preserve8, val=1 .eabi_attribute 25, \val .endm but the mingw32ce compiler chokes on it (both gcc 4.1 and gcc 4.4) : libavcodec/arm/

Re: [Cegcc-devel] Problem compiling SVN trunk

2009-07-08 Thread Danny Backx
On Wed, 2009-07-08 at 10:35 +0300, İsmail Dönmez wrote: > I am trying to compile svn trunk on Gentoo with gcc 4.3.2, but the > compilation fails with the following error: [..] > Creating library file: .libs/libssp.dll.a > .libs/ssp.o: In function `fail': > /root/cegcc/gcc-4.4.0/libssp/ssp.c:109: un

Re: [Cegcc-devel] x86 libstdc++ crashes

2009-07-08 Thread Dave Korn
Danny Backx wrote: > 0x0040106a : movl $0x41f6c160,(%esp) > 0x00401071 <_fu0___ZSt4cout+4>: call 0x4235c492 > 0x00401099 <__static_initialization_and_destruction_0+28>: call > 0x4235174a > 0x0040109e <_fu2___ZNSt8ios_base4InitC1Ev+4>: cmpl $0x0,0x8(%ebp) So, how do those addre

Re: [Cegcc-devel] Problem compiling SVN trunk

2009-07-08 Thread İsmail Dönmez
Hi; On Wed, Jul 8, 2009 at 5:29 PM, Danny Backx wrote: > On Wed, 2009-07-08 at 17:12 +0300, İsmail Dönmez wrote: >> > Looks like you're trying to build arm-cegcc. I've not been able to spend >> > enough time on the combination of that and the new gcc. >> > >> > It would be wise not to do that, fal

Re: [Cegcc-devel] Problem compiling SVN trunk

2009-07-08 Thread Danny Backx
On Wed, 2009-07-08 at 17:12 +0300, İsmail Dönmez wrote: > > Looks like you're trying to build arm-cegcc. I've not been able to spend > > enough time on the combination of that and the new gcc. > > > > It would be wise not to do that, fall back to src/gcc instead of > > src/gcc-4.4.0 . > > I had so

Re: [Cegcc-devel] x86 libstdc++ crashes

2009-07-08 Thread Danny Backx
On Wed, 2009-07-08 at 09:41 +0100, Dave Korn wrote: > Danny Backx wrote: > > > global constructors keyed to main () at hello.C:8 > > 8 } > > Current language: auto; currently c++ > > (gdb) > > __static_initialization_and_destruction_0 (__initialize_p=1, > > __priority=65535) at hello.C:8 >

Re: [Cegcc-devel] x86 libstdc++ crashes

2009-07-08 Thread Dave Korn
Danny Backx wrote: > global constructors keyed to main () at hello.C:8 > 8 } > Current language: auto; currently c++ > (gdb) > __static_initialization_and_destruction_0 (__initialize_p=1, > __priority=65535) at hello.C:8 > 8 } > (gdb) > 72static ios_base::Init __ioinit; > (g

[Cegcc-devel] Problem compiling SVN trunk

2009-07-08 Thread İsmail Dönmez
Hi all; I am trying to compile svn trunk on Gentoo with gcc 4.3.2, but the compilation fails with the following error: /bin/sh ./libtool --tag=CC --mode=link /root/cegcc/build-cegcc/gcc/./gcc/xgcc -B/root/cegcc/build-cegcc/gcc/./gcc/ -B/opt/cegcc/arm-cegcc/bin/ -B/opt/cegcc/arm-cegcc/lib/ -isyste

Re: [Cegcc-devel] x86 libstdc++ crashes

2009-07-08 Thread Danny Backx
On Wed, 2009-07-08 at 07:31 +0100, Dave Korn wrote: > Danny Backx wrote: > > > - linker mentions ios_base::Init::Init() > > - crash occurs, says gdb, in ios_base::Init __ioinit; > > - gdbserver occasionally shows the glitch with reading dll names > > (Symbol file not found for li) > > > Info: r