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 |
![]() |
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 |
![]() |
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 |
![]() |
------=_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> </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;"> </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: <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: </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]" <d= jgpp-announce@delorie.com><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>  = ; <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> &nbs= p; <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 - source package (needed only if one wants to rebuild GCC himse= lf)<br><br>gccNNNb.zip - C compiler binaries (required for all other = binaries)<br><br>gccNNNd.zip - C compiler documentation<br><br>adaNNN= b.zip - Ada compiler binaries (requires gccNNNb.zip, not available fo= r<br> gcc-5.2.0. One= can however use cross-compiler to build Ada<br> = programs for DJGPP<br><br>adaNNNd.zip - = 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; for gcc-3.4.6)<br><br>g= forNNNd.zip - Fortran compiler documentation<br><br>gppNNNb.zip - 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> version only). There is no "official" build of ISL for= DJGPP, but it builds "out of box".<br> Additionally GCC building pr= ocess uses ISL if it is available but presence of ISL is<br> 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> <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><br><br><br><br></div> </div> </div> = </div></body></html> ------=_Part_452407_1983820322.1437307023496--
![]() |
0 |
![]() |