Re: [Cegcc-devel] binutils warning on Snow Leopard

2009-10-24 Thread Danny Backx
On Fri, 2009-10-23 at 21:58 +0200, Vincent R. wrote:
> When compiling latest sources on Snow Leopard I have the following warning
> :
> 
> cc1: warnings being treated as errors
> /Users/vincent/Projets/cegcc/src/binutils/binutils/strings.c: In function
> ‘strings_file’:
> /Users/vincent/Projets/cegcc/src/binutils/binutils/strings.c:419: warning:
> ‘stat64’ is deprecated (declared at /usr/include/sys/stat.h:465)
> 
> So could you please add the following configure arg : -disable-werror.

To what should this be added ?

In stuff I find via a search engine, I find this in configure commands
for binutils but also for gdb.

And do you know what the effect is ?

Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


[Cegcc-devel] CeGCC; target = ARM MINGW32CE; About code size.

2009-10-24 Thread Claude Sylvain
Hello,

- I am new to CeGCC (but know well Cygwin, MinGW).

- My host plateform is Windows XP professional, with Cygwin 1.5.x

- I just finished building CeGCC for MINGW32CE target from SVN.
   The build process was done easily.  Great job guy!

- I build a simple program using CeGCC (MINGW32CE) (with -O3).  I also
   built the same program with PellesC.
- Application size is:
- For PellesC   : ~ 7K bytes
- For CeGCC : ~ 33K bytes


- Is there a reason of such code size difference ?

- Is some library component statically linked ?


Claude.



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] CeGCC; target = ARM MINGW32CE; About code size.

2009-10-24 Thread Vincent Torri


On Sat, 24 Oct 2009, Claude Sylvain wrote:

> Hello,
>
> - I am new to CeGCC (but know well Cygwin, MinGW).
>
> - My host plateform is Windows XP professional, with Cygwin 1.5.x
>
> - I just finished building CeGCC for MINGW32CE target from SVN.
>   The build process was done easily.  Great job guy!
>
> - I build a simple program using CeGCC (MINGW32CE) (with -O3).  I also
>   built the same program with PellesC.
>   - Application size is:
>   - For PellesC   : ~ 7K bytes
>   - For CeGCC : ~ 33K bytes
>
>
> - Is there a reason of such code size difference ?

it depends much on the options. -Os will decrease the size, for example, 
but is less optimized. Try to strip the program too.

> - Is some library component statically linked ?

if you use c++ code, with STL, libstdc++ is statically linked.

hth

Vincent Torri

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel