f



ANNOUNCE: Release of DJGPP ports of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5,, GCC-4.7.4 and GCC-3.4.6 for DJGPP v2.05

This is announcement of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5, GCC-4.7.4 and GCC-3.4.6 for DJGPP v2.05

GCC used to stand for the GNU C Compiler, but since the
compiler supports several other languages aside from C,
it now stands for the GNU Compiler Collection.

All these GCC versions are built using DJGPP v2.05 under Windows Vista Business SP3.

Requirements for using binary packages:
- DJGPP v2.05 (packages are NOT intended to be used with DJGPP v2.03)
- binutils-2.22 or above (binutils-2.24 or above recommended)

Currently all packages are still located at:

           ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/

but it is planned to move them later to

           ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/

The package names are following (substitute NNN with version number with dots removed,
for example substitute NNN with 520 for gcc-5.2.0)

gccNNNs.zip  - source package (needed only if one wants to rebuild GCC himself)

gccNNNb.zip  - C compiler binaries (required for all other binaries)

gccNNNd.zip  - C compiler documentation

adaNNNb.zip  - Ada compiler binaries (requires gccNNNb.zip, not available for
                gcc-5.2.0. One can however use cross-compiler to build Ada
                programs for DJGPP

adaNNNd.zip  - Ada compiler documentation (not built for gcc-3.4.6)

gforNNNb.zip - Fortran compiler (requires gccNNNb.zip. Package name is g77346b.zip
                for gcc-3.4.6)

gforNNNd.zip - Fortran compiler documentation

gppNNNb.zip  - C++ compiler binaries (requires gccNNNb.zip)

objcNNNb.zip - Objective C and Objective C++ compiler binaries (requires gccNNNb.zip)


NOTES
=====

- no documentation packages were built for gcc-3.4.6

- I installed ISL-0.14 (http://isl.gforge.inria.fr/) before building GCC-5.2.0 (this
   version only). There is no "official" build of ISL for DJGPP, but it builds "out of box".
   Additionally GCC building process uses ISL if it is available but presence of ISL is
   not mandatory)


Cross-compiler RPMs
===================

Cross-compiler RPMs of gcc-5.2.0, gcc-4.9.3 and gcc-4.8.5 (for both i686 and x86_64)
are also available from corresponding subdirectories of

          ftp://ftp.delorie.com/pub/djgpp/rpms/

I built these RPMS in following environments:
- gcc-4.8.5 and gcc-4.9.3: CentOS-5.11 chroots under Fedora 22 x86_64
- gcc-5.2.0: CentOS-6.6 chroots under Fedora 22 x86_64

Cross-compiler binaries are statically linked with GMP-6.0.0, MPFR-3.1.3 and MPC-1.0.3
and as result are expected to work on newer RPM based Linux distributions (like
Fedora 22)

Also Ada support is available for gcc-5.2.0 cross-compiler (but not native DJGPP compiler)

Andris Pavenis <andris DOT pavenis AT iki DOT fi>

0
Andris
7/18/2015 7:49:19 PM
comp.os.msdos.djgpp 3308 articles. 2 followers. tigrepotrazosalvaje (34) is leader. Post Follow

3 Replies
1063 Views

Similar Articles

[PageSpeed] 3

On 7/18/15, Andris Pavenis (andris.pavenis@iki.fi) [via
djgpp-announce@delorie.com] <djgpp-announce@delorie.com> wrote:
> This is announcement of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5, GCC-4.7.4 and
> GCC-3.4.6 for DJGPP v2.05
>

Thanks.

Although it looks funny that gcc-3.4.6 is link with a libc built with
gcc-4.7.3 :)
Can we rebuild 2.05 from latest v2_05_1 branch with gcc-3.4.6 so it'd be
most compatible?

--
O.S.
0
Ozkan
7/19/2015 6:49:14 AM
On 07/19/2015 09:49 AM, Ozkan Sezer (sezeroz@gmail.com) [via djgpp@delorie.com] wrote:
> On 7/18/15, Andris Pavenis (andris.pavenis@iki.fi) [via
> djgpp-announce@delorie.com] <djgpp-announce@delorie.com> wrote:
>> This is announcement of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5, GCC-4.7.4 and
>> GCC-3.4.6 for DJGPP v2.05
>>
> Thanks.
>
> Although it looks funny that gcc-3.4.6 is link with a libc built with
> gcc-4.7.3 :)
> Can we rebuild 2.05 from latest v2_05_1 branch with gcc-3.4.6 so it'd be
> most compatible?
>
> --
> O.S.
>
Yes I built libc with gcc-4.7. gcc-4.7 has been around longer than gcc-5 and I wanted to avoid 
hidden problems.

One example (not really very hidden) that I had to workaround was that calloc() was mis-compiled to 
infinite
tail recursion (see example below). I work-arounded that by specifying additional GCC command line 
option for nmalloc.
I'm not however completely sure that there are no other better hidden problems.

There should be no problems with C when libc is built with gcc-4.7

C++ or Ada would be other topic, but fortunately libc uses neither of them.

Also many Linux distributions includes also gcc-3.4.6 for compatibility purposes (when some old 
software does not build with current GCC).
That does not however be reason for libc being built with gcc-3.4.6

Andris


Konsole output
[andris@ap 7]$ i586-pc-msdosdjgpp-gcc -v
Using built-in specs.
COLLECT_GCC=i586-pc-msdosdjgpp-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i586-pc-msdosdjgpp/5.2.0/lto-wrapper
Target: i586-pc-msdosdjgpp
Configured with: ../gnu/gcc-5.20/configure --build=x86_64-redhat-linux-gnu 
--host=x86_64-redhat-linux-gnu --target=i586-pc-msdosdjgpp --program-pref
ix=i586-pc-msdosdjgpp- --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/u
sr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var 
--sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share
/info --disable-nls --disable-plugin --disable-lto --enable-libquadmath-support --enable-lto 
--with-gmp=/home/andris/rpm_root/BUILD/djcross-gcc-5.2.
0/tmpinst --with-mpfr=/home/andris/rpm_root/BUILD/djcross-gcc-5.2.0/tmpinst 
--with-mpc=/home/andris/rpm_root/BUILD/djcross-gcc-5.2.0/tmpinst --enabl
e-version-specific-runtime-libs --enable-languages=c,c++,f95,objc,obj-c++,ada
Thread model: single
gcc version 5.2.0 (GCC)

[andris@ap 7]$ cat calloc.c
#include <stdlib.h>
#include <string.h>

void *calloc(size_t n, size_t len)
{
    void *ptr = malloc(n*len);
    if (ptr) {
        memset(ptr, 0, n*len);
    }
    return ptr;
}
[andris@ap 7]$ i586-pc-msdosdjgpp-gcc -O2 -Wall -S calloc.c -o -
        .file   "calloc.c"
        .section        .text.unlikely,"x"
LCOLDB0:
        .section .text
LHOTB0:
        .p2align 4,,15
        .globl  _calloc
_calloc:
LFB0:
        .cfi_startproc
        movl    8(%esp), %eax
        movl    4(%esp), %edx
        imull   %edx, %eax
        movl    $1, 8(%esp)
        movl    %eax, 4(%esp)
        jmp     _calloc
        .cfi_endproc
LFE0:
        .section        .text.unlikely,"x"
LCOLDE0:
        .section .text
LHOTE0:
        .ident  "GCC: (GNU) 5.2.0"


0
Andris
7/19/2015 7:57:03 AM
------=_Part_452407_1983820322.1437307023496
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Please unsubscribe me.=C2=A0=C2=A0Suzanne L. Perry
Cell Phone: 502-471-7699Send SMS to my cell phone from a PC:=C2=A0502471769=
9@mobile.sprintpcs.comFacebook: Suzanne LabordeSkype: Suzanne LabordeE-mail=
:=C2=A0slpky@yahoo.com
      From: "Andris Pavenis (andris.pavenis@iki.fi) [via djgpp-announce@del=
orie.com]" <djgpp-announce@delorie.com>
 To: djgpp-announce@delorie.com=20
 Sent: Saturday, July 18, 2015 3:49 PM
 Subject: ANNOUNCE: Release of DJGPP ports of GCC-5.2.0, GCC-4.9.3, GCC-4.8=
.5,, GCC-4.7.4 and GCC-3.4.6 for DJGPP v2.05
  =20
This is announcement of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5, GCC-4.7.4 and GCC-=
3.4.6 for DJGPP v2.05

GCC used to stand for the GNU C Compiler, but since the
compiler supports several other languages aside from C,
it now stands for the GNU Compiler Collection.

All these GCC versions are built using DJGPP v2.05 under Windows Vista Busi=
ness SP3.

Requirements for using binary packages:
- DJGPP v2.05 (packages are NOT intended to be used with DJGPP v2.03)
- binutils-2.22 or above (binutils-2.24 or above recommended)

Currently all packages are still located at:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ftp://ftp.delorie.com/pub/djgpp/beta/v2g=
nu/

but it is planned to move them later to

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ftp://ftp.delorie.com/pub/djgpp/current/=
v2gnu/

The package names are following (substitute NNN with version number with do=
ts removed,
for example substitute NNN with 520 for gcc-5.2.0)

gccNNNs.zip=C2=A0 - source package (needed only if one wants to rebuild GCC=
 himself)

gccNNNb.zip=C2=A0 - C compiler binaries (required for all other binaries)

gccNNNd.zip=C2=A0 - C compiler documentation

adaNNNb.zip=C2=A0 - Ada compiler binaries (requires gccNNNb.zip, not availa=
ble for
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gcc-5.2.0. One can =
however use cross-compiler to build Ada
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 programs for DJGPP

adaNNNd.zip=C2=A0 - Ada compiler documentation (not built for gcc-3.4.6)

gforNNNb.zip - Fortran compiler (requires gccNNNb.zip. Package name is g773=
46b.zip
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 for gcc-3.4.6)

gforNNNd.zip - Fortran compiler documentation

gppNNNb.zip=C2=A0 - C++ compiler binaries (requires gccNNNb.zip)

objcNNNb.zip - Objective C and Objective C++ compiler binaries (requires gc=
cNNNb.zip)


NOTES
=3D=3D=3D=3D=3D

- no documentation packages were built for gcc-3.4.6

- I installed ISL-0.14 (http://isl.gforge.inria.fr/) before building GCC-5.=
2.0 (this
=C2=A0 version only). There is no "official" build of ISL for DJGPP, but it=
 builds "out of box".
=C2=A0 Additionally GCC building process uses ISL if it is available but pr=
esence of ISL is
=C2=A0 not mandatory)


Cross-compiler RPMs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Cross-compiler RPMs of gcc-5.2.0, gcc-4.9.3 and gcc-4.8.5 (for both i686 an=
d x86_64)
are also available from corresponding subdirectories of

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ftp://ftp.delorie.com/pub/djgpp/rpms/

I built these RPMS in following environments:
- gcc-4.8.5 and gcc-4.9.3: CentOS-5.11 chroots under Fedora 22 x86_64
- gcc-5.2.0: CentOS-6.6 chroots under Fedora 22 x86_64

Cross-compiler binaries are statically linked with GMP-6.0.0, MPFR-3.1.3 an=
d MPC-1.0.3
and as result are expected to work on newer RPM based Linux distributions (=
like
Fedora 22)

Also Ada support is available for gcc-5.2.0 cross-compiler (but not native =
DJGPP compiler)

Andris Pavenis <andris DOT pavenis AT iki DOT fi>



  
------=_Part_452407_1983820322.1437307023496
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:ve=
rdana, helvetica, sans-serif;font-size:16px"><div id=3D"yui_3_16_0_1_143729=
5910076_53533"><span id=3D"yui_3_16_0_1_1437295910076_53532">Please unsubsc=
ribe me.</span></div><div></div><div>&nbsp;</div><div class=3D"signature" i=
d=3D"yui_3_16_0_1_1437295910076_53443"><div id=3D"RTEContent"><div id=3D"yu=
i_3_13_0_ym1_1_1393638425542_8467" style=3D"font-family:HelveticaNeue, 'Hel=
vetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:18.39=
9999618530273px;">&nbsp;</div><div id=3D"yiv0114395253RTEContent" style=3D"=
font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Gran=
de', sans-serif;"><div id=3D"yui_3_13_0_ym1_1_1393638425542_8468"><font col=
or=3D"#00bf60" id=3D"yui_3_13_0_ym1_1_1393638425542_9678" style=3D"font-siz=
e:medium;">Suzanne L. Perry</font></div><div id=3D"yui_3_13_0_ym1_1_1393638=
425542_8468"><br></div><div id=3D"yui_3_13_0_ym1_1_1393638425542_8468"><spa=
n style=3D"font-size:medium;color:rgb(0, 191, 96);background-color:rgb(255,=
 255, 255);">Cell Phone: 502-471-7699</span></div><div id=3D"yui_3_13_0_ym1=
_1_1393638425542_8473"><font color=3D"#00bf60" id=3D"yui_3_13_0_ym1_1_13936=
38425542_8472" style=3D"font-size:medium;">Send SMS to my cell phone from a=
 PC:&nbsp;<a rel=3D"nofollow" href=3D"">5024717699@mobile.sprintpcs.com</a>=
</font></div><div id=3D"yui_3_13_0_ym1_1_1393638425542_8474"><font color=3D=
"#00bf60" id=3D"yui_3_13_0_ym1_1_1393638425542_9676" style=3D"font-size:med=
ium;">Facebook: Suzanne Laborde</font></div><div id=3D"yui_3_13_0_ym1_1_139=
3638425542_8475"><font color=3D"#00bf60" id=3D"yui_3_13_0_ym1_1_13936384255=
42_9675" style=3D"font-size:medium;">Skype: Suzanne Laborde</font></div><di=
v id=3D"yui_3_13_0_ym1_1_1393638425542_8476"><span style=3D"font-size:mediu=
m;"><font color=3D"#00bf60" id=3D"yui_3_13_0_ym1_1_1393638425542_9674">E-ma=
il:&nbsp;</font><a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=
=3D"mailto:slpky@yahoo.com" id=3D"yui_3_13_0_ym1_1_1393638425542_10986" sty=
le=3D"margin:0px;padding:0px;color:rgb(25, 106, 212);outline:none;"><font c=
olor=3D"#0000ff" id=3D"yui_3_13_0_ym1_1_1393638425542_10985">slpky@yahoo.co=
m</font></a></span></div></div></div></div><br>  <div style=3D"font-family:=
 verdana, helvetica, sans-serif; font-size: 16px;"> <div style=3D"font-fami=
ly: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-se=
rif; font-size: 16px;"> <div dir=3D"ltr"> <hr size=3D"1">  <font size=3D"2"=
 face=3D"Arial"> <b><span style=3D"font-weight:bold;">From:</span></b> "And=
ris Pavenis (andris.pavenis@iki.fi) [via djgpp-announce@delorie.com]" &lt;d=
jgpp-announce@delorie.com&gt;<br> <b><span style=3D"font-weight: bold;">To:=
</span></b> djgpp-announce@delorie.com <br> <b><span style=3D"font-weight: =
bold;">Sent:</span></b> Saturday, July 18, 2015 3:49 PM<br> <b><span style=
=3D"font-weight: bold;">Subject:</span></b> ANNOUNCE: Release of DJGPP port=
s of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5,, GCC-4.7.4 and GCC-3.4.6 for DJGPP v2=
.05<br> </font> </div> <div class=3D"y_msg_container"><br>This is announcem=
ent of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5, GCC-4.7.4 and GCC-3.4.6 for DJGPP v=
2.05<br><br>GCC used to stand for the GNU C Compiler, but since the<br>comp=
iler supports several other languages aside from C,<br>it now stands for th=
e GNU Compiler Collection.<br><br>All these GCC versions are built using DJ=
GPP v2.05 under Windows Vista Business SP3.<br><br>Requirements for using b=
inary packages:<br>- DJGPP v2.05 (packages are NOT intended to be used with=
 DJGPP v2.03)<br>- binutils-2.22 or above (binutils-2.24 or above recommend=
ed)<br><br>Currently all packages are still located at:<br><br>&nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp;  <a href=3D"ftp://ftp.delorie.com/pub/djgpp/beta/v2g=
nu/" target=3D"_blank">ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/</a><br><=
br>but it is planned to move them later to<br><br>&nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp;  <a href=3D"ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/" targe=
t=3D"_blank">ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/</a><br><br>The =
package names are following (substitute NNN with version number with dots r=
emoved,<br>for example substitute NNN with 520 for gcc-5.2.0)<br><br>gccNNN=
s.zip&nbsp; - source package (needed only if one wants to rebuild GCC himse=
lf)<br><br>gccNNNb.zip&nbsp; - C compiler binaries (required for all other =
binaries)<br><br>gccNNNd.zip&nbsp; - C compiler documentation<br><br>adaNNN=
b.zip&nbsp; - Ada compiler binaries (requires gccNNNb.zip, not available fo=
r<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gcc-5.2.0. One=
 can however use cross-compiler to build Ada<br>&nbsp; &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; programs for DJGPP<br><br>adaNNNd.zip&nbsp; - =
Ada compiler documentation (not built for gcc-3.4.6)<br><br>gforNNNb.zip - =
Fortran compiler (requires gccNNNb.zip. Package name is g77346b.zip<br>&nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for gcc-3.4.6)<br><br>g=
forNNNd.zip - Fortran compiler documentation<br><br>gppNNNb.zip&nbsp; - C++=
 compiler binaries (requires gccNNNb.zip)<br><br>objcNNNb.zip - Objective C=
 and Objective C++ compiler binaries (requires gccNNNb.zip)<br><br><br>NOTE=
S<br>=3D=3D=3D=3D=3D<br><br>- no documentation packages were built for gcc-=
3.4.6<br><br>- I installed ISL-0.14 (<a href=3D"http://isl.gforge.inria.fr/=
" target=3D"_blank">http://isl.gforge.inria.fr/</a>) before building GCC-5.=
2.0 (this<br>&nbsp;  version only). There is no "official" build of ISL for=
 DJGPP, but it builds "out of box".<br>&nbsp;  Additionally GCC building pr=
ocess uses ISL if it is available but presence of ISL is<br>&nbsp;  not man=
datory)<br><br><br>Cross-compiler RPMs<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D<br><br>Cross-compiler RPMs of gcc-5.2.0, gcc-4.9.3=
 and gcc-4.8.5 (for both i686 and x86_64)<br>are also available from corres=
ponding subdirectories of<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href=
=3D"ftp://ftp.delorie.com/pub/djgpp/rpms/" target=3D"_blank">ftp://ftp.delo=
rie.com/pub/djgpp/rpms/</a><br><br>I built these RPMS in following environm=
ents:<br>- gcc-4.8.5 and gcc-4.9.3: CentOS-5.11 chroots under Fedora 22 x86=
_64<br>- gcc-5.2.0: CentOS-6.6 chroots under Fedora 22 x86_64<br><br>Cross-=
compiler binaries are statically linked with GMP-6.0.0, MPFR-3.1.3 and MPC-=
1.0.3<br>and as result are expected to work on newer RPM based Linux distri=
butions (like<br>Fedora 22)<br><br>Also Ada support is available for gcc-5.=
2.0 cross-compiler (but not native DJGPP compiler)<br><br>Andris Pavenis &l=
t;andris DOT pavenis AT iki DOT fi&gt;<br><br><br><br></div> </div> </div> =
 </div></body></html>
------=_Part_452407_1983820322.1437307023496--
0
S
7/19/2015 11:57:03 AM
Reply:

Similar Artilces:

ANNOUNCE: DJGPP port of GCC-4.8.4 (DJGPP v2.04 only)
This is announcement of DJGPP port of GCC-4.8.4 GCC used to stand for the GNU C Compiler, but since the compiler supports several other languages aside from C, it now stands for the GNU Compiler Collection. ********************************************************************** * WARNING: only port for DJGPP 2.04 development versions is provided * ********************************************************************** Warning: DJGPP port of binutils-2.22 or newer is recommended. Version 2.19 and 2.20 may work but are not tested It is however recommended to us...

Diffs between OpenBSD 3.9 gcc 3.3.5 <-> Linux 2.6 gcc 4.0 ?
I'm hoping some of you experienced OpenBSD users may be able to provide some insight for a noviate like myself about what should be a simple C problem (but it's not simple until it's fixed :-). Here's the situation: I have a medium-sized program in C that I wrote on Linux 2.6 using gcc 3.3.6, now ported to gcc 4.0. It intentionally has no malloc/free calls; instead, it uses arrays to pass data between routines (yes I know the reasons why this shouldn't be done). The calling routine passes the array addresses to the called subroutine. But the callee doesn'...

ANNOUNCE: DJGPP port of GCC-4.4.4
This is announcement of DJGPP port of GCC-4.4.4 GCC used to stand for the GNU C Compiler, but since the compiler supports several other languages aside from C, it now stands for the GNU Compiler Collection. Warning: DJGPP port of binutils-2.16 or newer is required. ======================================= Build for current stable version of DJGPP (djdev203 patchlevel 2) is available from: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ and mirror sites (see http://www.delorie.com/djgpp/getting.html) ada444b.zip GNU Ada compiler 4.4.4 for DJGPP V2 ftp://ftp.delorie.com/pub/dj...

GCC 3.4.3 and GCC 4.1.2
Hi, Please clarify my doubt. My source dir contains combination of C and C++ files If I compile it using gcc 3.4.3 version, it works fine with some easy warnings which I can clear. But if I compile it using gcc 4.1.2 it throws a warning for each .cpp file I compile, which I could not clear "cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++" What is the difference between both the compilation? Why is it throwing this warning when using gcc 4.1.2? How to avoid this? Is this anything to do with the specs file? Regar...

gcc 3.4 or gcc 4.0?
Is gcc 3.4 or 4.0 supported by VxWorks? Jacek Poplawski wrote: > Is gcc 3.4 or 4.0 supported by VxWorks? 3.4.4 is the GNU compiler shipped with VxWorks 6.3 --P ...

BSS problem in DJGPP port of GCC 4 (was: Re: Question about djcross-gcc-4.1.1-2) #2
>It seems to be bug in binutils. It does not appear even in C++ when option >-fno-exceptions is specified (so no .eh_frame section). Actually, the -fno-exceptions causes files like eh_alloc.o not to be linked into the resulting executable. The stdc++ library is compiled with several compiler flags, one of them being -fdata-sections. Consider the following small test program: --- cut begin--- static int int_array[500000]; int main (void) { return 0; } --- cut end--- Compiling this C file *without* the -fdata-sections option gives the desired output: $ i586-pc-msdosdjgpp-size...

DJGPP gcc 4.7.3 and 4.8.2 work inconsistently on type uint32_t.
Hello, I found that for type uint32_t, DJGPP gcc 4.7.3 and DJGPP gcc 4.8.2 work inconsistently. File x.c: ==== #include <stdint.h> #include <stdio.h> int main() { uint32_t x = 100; printf("Hello %x \n", x); return 0; } ==== Compile the file with "-Wall" to enable all warnings. gcc -Wall -c x.c If I uses DJGPP gcc 4.7.3, there is no problem. But if I use DJGPP gcc 4.8.2, there will be warning message: x.c: In function 'main': x.c:6:3: warning: format '%x' expects argument of type 'unsigned int', b...

ANNOUNCE: Update of DJGPP port of GCC-4.8.3 (DJGPP v2.04 only)
This is announcement of DJGPP port of GCC-4.8.3 GCC used to stand for the GNU C Compiler, but since the compiler supports several other languages aside from C, it now stands for the GNU Compiler Collection. ********************************************************************** * WARNING: only port for DJGPP 2.04 development versions is provided * ********************************************************************** Warning: DJGPP port of binutils-2.22 or newer is recommended. Version 2.19 and 2.20 may work but are not tested It is however recommended to use ...

Problem compiling ACE 6.2.0 on GCC 4.4.7 (Redhat 4.4.7-2)
in trace.hpp class Formatter : public Formattable { <snip> private: const Formattable::FieldMap &getFieldMap() const; static ACE_Mutex mFieldMapMutex; static FieldMap *mFieldMap; }; in trace.cpp ACE_Mutex TraceInfo::Formatter::mFieldMapMutex; Formattable::FieldMap *TraceInfo::Formatter::mFieldMap =3D NULL; const Formattable::FieldMap &TraceInfo::Formatter::getFieldMap() const { ACE_Guard< ACE_Mutex > guard( mFieldMapMutex ); //line 115 if( mFieldMap =3D=3D NULL ) { mFieldMap =3D new FieldMap; mFieldMap-...

Gentoo - gcc upgrade
Just a "heads-up" to the new gentooers out there. There has just been a new slotted upgrade of the gcc compiler for amd64 and x86 profiles. You can now take advantage of the new gcc compiler in the 4.5 slot (4.5.3-r1). This doesn't happen automatically. If you want to start using the upgraded compiler you will have to: # gcc-config <gcc-new-version> or you can do $ gcc-config -l This will give you a numbered list of available gcc versions. You can then do: # gcc-config <number> To select your compiler. To update your environment do: # env-update && sou...

wxGTK-2.5.4, SuSE 9.2, gcc 3.3.4: borders
Hello, In my system the borders around inner windows are not displayed at all. In the 2.4.2 it was good. The background in the wxTreeCtrl is set only behind the text. Regards Gyorgy Kovesdi --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org For additional commands, e-mail: wx-users-help@lists.wxwidgets.org > In my system the borders around inner windows are not displayed > at all. In the 2.4.2 it was good. Are you seeing this in any of the samples? > The background in the ...

wxGTK-2.5.4, SuSE 9.2, gcc 3.3.4: SetSize
Hello, I found that in some cases the wxWindows::SetSize() function does not work. (e.g. in the wxTextCtrl class) Regards, Gyorgy Kovesdi --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org For additional commands, e-mail: wx-users-help@lists.wxwidgets.org > I found that in some cases the wxWindows::SetSize() function does not work. > (e.g. in the wxTextCtrl class) Hundreds of apps position wxTextCtrl anywhere on dialogs, so you must have a strange configuration, somehow. Ro...

BSS problem in DJGPP port of GCC 4 (was: Re: Question about djcross-gcc-4.1.1-2)
>It seems to be bug in binutils. It does not appear even in C++ when option >-fno-exceptions is specified (so no .eh_frame section). Actually, the -fno-exceptions causes files like eh_alloc.o not to be linked into the resulting executable. The stdc++ library is compiled with several compiler flags, one of them being -fdata-sections. Consider the following small test program: --- cut begin--- static int int_array[500000]; int main (void) { return 0; } --- cut end--- Compiling this C file *without* the -fdata-sections option gives the desired output: $ i586-pc-msdosdjgpp-size...

Template construction in old gcc 3.3.3 does not compile in gcc 3.4.4
Hello! Below is a snippet that compiles in 3.3.3, but not in 3.4.4. Obviously, this is a result of the (laudable) efforts to make gcc more standards-compliant. Any way to get around this? gcc 3.4.4 complains that x is undeclared in the template definition. Thanks, Andrew Steiner ----------------------------------------------------------------------- #include <iostream> using namespace std; class parent { public: parent() { x=3.0; }; double x; }; template<class parent_t> class child : public parent_t { public: void test() { cout << x << endl; } ...

Web resources about - ANNOUNCE: Release of DJGPP ports of GCC-5.2.0, GCC-4.9.3, GCC-4.8.5,, GCC-4.7.4 and GCC-3.4.6 for DJGPP v2.05 - comp.os.msdos.djgpp

Resources last updated: 1/25/2016 10:54:11 AM