www.digitalmars.com         C & C++   DMDScript  

D.gnu - Wiki updates

reply Johannes Pfau <nospam example.com> writes:
I restructured the http://gdcproject.org/wiki/Installation page, I hope
it's OK this way.

I also added a Raspberry Pi overview page
http://gdcproject.org/wiki/Raspberry Pi and a new installation guide
for raspbian
http://gdcproject.org/wiki/Raspberry%20Pi/build/raspbian_hardfloat
would be great if someone could test the raspbian guide and report any
success or failures. It works for me, but I'm not sure if I forgot to
document some details.

 Iain the home page (http://gdcproject.org/wiki/Home) could need some
small updates:

Frontend version still says 2.059 and links to the 2.057 changelog.

There are still some references to the old issue tracker:
"A bug, proposal, or enhancement can go to the issue tracker on
bitbucket."
"This list is still maintained, however, new bugs should be submitted
to the Bitbucket repository."

And this should probably be changed to refer to git commits:
"Include the hg changeset or commit you are using for GDC. (e.g. commit
114 or changset 6f03952ff48f)"

If you give me permission to edit the home page (user JohannesPfau) I
can fix those, if not that's fine as well ;-)

BTW:
Would it be possible to add links to the gdcproject.org main page,
github repository, bug tracker and D.gnu forum to the wiki Quick links
list?
Aug 21 2012
next sibling parent reply "Iain Buclaw" <ibuclaw ubuntu.com> writes:
On Tuesday, 21 August 2012 at 19:01:17 UTC, Johannes Pfau wrote:
 I restructured the http://gdcproject.org/wiki/Installation 
 page, I hope
 it's OK this way.

 I also added a Raspberry Pi overview page
 http://gdcproject.org/wiki/Raspberry Pi and a new installation 
 guide
 for raspbian
 http://gdcproject.org/wiki/Raspberry%20Pi/build/raspbian_hardfloat
 would be great if someone could test the raspbian guide and 
 report any
 success or failures. It works for me, but I'm not sure if I 
 forgot to
 document some details.

  Iain the home page (http://gdcproject.org/wiki/Home) could 
 need some
 small updates:

 Frontend version still says 2.059 and links to the 2.057 
 changelog.

 There are still some references to the old issue tracker:
 "A bug, proposal, or enhancement can go to the issue tracker on
 bitbucket."
 "This list is still maintained, however, new bugs should be 
 submitted
 to the Bitbucket repository."

 And this should probably be changed to refer to git commits:
 "Include the hg changeset or commit you are using for GDC. 
 (e.g. commit
 114 or changset 6f03952ff48f)"

 If you give me permission to edit the home page (user 
 JohannesPfau) I
 can fix those, if not that's fine as well ;-)

 BTW:
 Would it be possible to add links to the gdcproject.org main 
 page,
 github repository, bug tracker and D.gnu forum to the wiki 
 Quick links
 list?
Fixed them - mostly. I see a bit of spam has creeped in (oh noes!). This might take me an hour to clean out as I can't seem to remove pages in bulk. In the meantime, I have added some silly textcha's - so sorry for the inconvenience! I could certainly add you to an admin group if only I knew how. :-) Regards Iain
Aug 22 2012
parent reply "Iain Buclaw" <ibuclaw ubuntu.com> writes:
On Wednesday, 22 August 2012 at 13:51:12 UTC, Iain Buclaw wrote:
 On Tuesday, 21 August 2012 at 19:01:17 UTC, Johannes Pfau wrote:
 I restructured the http://gdcproject.org/wiki/Installation 
 page, I hope
 it's OK this way.

 I also added a Raspberry Pi overview page
 http://gdcproject.org/wiki/Raspberry Pi and a new installation 
 guide
 for raspbian
 http://gdcproject.org/wiki/Raspberry%20Pi/build/raspbian_hardfloat
 would be great if someone could test the raspbian guide and 
 report any
 success or failures. It works for me, but I'm not sure if I 
 forgot to
 document some details.

  Iain the home page (http://gdcproject.org/wiki/Home) could 
 need some
 small updates:

 Frontend version still says 2.059 and links to the 2.057 
 changelog.

 There are still some references to the old issue tracker:
 "A bug, proposal, or enhancement can go to the issue tracker on
 bitbucket."
 "This list is still maintained, however, new bugs should be 
 submitted
 to the Bitbucket repository."

 And this should probably be changed to refer to git commits:
 "Include the hg changeset or commit you are using for GDC. 
 (e.g. commit
 114 or changset 6f03952ff48f)"

 If you give me permission to edit the home page (user 
 JohannesPfau) I
 can fix those, if not that's fine as well ;-)

 BTW:
 Would it be possible to add links to the gdcproject.org main 
 page,
 github repository, bug tracker and D.gnu forum to the wiki 
 Quick links
 list?
Fixed them - mostly. I see a bit of spam has creeped in (oh noes!). This might take me an hour to clean out as I can't seem to remove pages in bulk. In the meantime, I have added some silly textcha's - so sorry for the inconvenience! I could certainly add you to an admin group if only I knew how. :-) Regards Iain
OK, worked out how to remove them in bulk. If anyone was zealous enough to create a page in their own name, I'm sorry but you've have your account removed. :P
Aug 22 2012
parent reply "Iain Buclaw" <ibuclaw ubuntu.com> writes:
On Wednesday, 22 August 2012 at 14:17:16 UTC, Iain Buclaw wrote:
 On Wednesday, 22 August 2012 at 13:51:12 UTC, Iain Buclaw wrote:
 On Tuesday, 21 August 2012 at 19:01:17 UTC, Johannes Pfau 
 wrote:
 I restructured the http://gdcproject.org/wiki/Installation 
 page, I hope
 it's OK this way.

 I also added a Raspberry Pi overview page
 http://gdcproject.org/wiki/Raspberry Pi and a new 
 installation guide
 for raspbian
 http://gdcproject.org/wiki/Raspberry%20Pi/build/raspbian_hardfloat
 would be great if someone could test the raspbian guide and 
 report any
 success or failures. It works for me, but I'm not sure if I 
 forgot to
 document some details.

  Iain the home page (http://gdcproject.org/wiki/Home) could 
 need some
 small updates:

 Frontend version still says 2.059 and links to the 2.057 
 changelog.

 There are still some references to the old issue tracker:
 "A bug, proposal, or enhancement can go to the issue tracker 
 on
 bitbucket."
 "This list is still maintained, however, new bugs should be 
 submitted
 to the Bitbucket repository."

 And this should probably be changed to refer to git commits:
 "Include the hg changeset or commit you are using for GDC. 
 (e.g. commit
 114 or changset 6f03952ff48f)"

 If you give me permission to edit the home page (user 
 JohannesPfau) I
 can fix those, if not that's fine as well ;-)

 BTW:
 Would it be possible to add links to the gdcproject.org main 
 page,
 github repository, bug tracker and D.gnu forum to the wiki 
 Quick links
 list?
Fixed them - mostly. I see a bit of spam has creeped in (oh noes!). This might take me an hour to clean out as I can't seem to remove pages in bulk. In the meantime, I have added some silly textcha's - so sorry for the inconvenience! I could certainly add you to an admin group if only I knew how. :-) Regards Iain
OK, worked out how to remove them in bulk. If anyone was zealous enough to create a page in their own name, I'm sorry but you've have your account removed. :P
Back online and finished last tweaks. By the way, how's the styling doing for you? I'm not really much of an eye for design... Regards Iain
Aug 22 2012
parent Johannes Pfau <nospam example.com> writes:
Am Thu, 23 Aug 2012 00:12:17 +0200
schrieb "Iain Buclaw" <ibuclaw ubuntu.com>:
 
 Back online and finished last tweaks. 
Great, thanks!
 By the way, how's the 
 styling doing for you?  I'm not really much of an eye for 
 design...
I think it's quite good. I don't really like the red text color in the 'code boxes', but everything else looks great.
Aug 23 2012
prev sibling next sibling parent reply =?ISO-8859-1?Q?S=F6nke_Ludwig?= <sludwig outerproduct.org> writes:
Am 21.08.2012 21:01, schrieb Johannes Pfau:
 I restructured the http://gdcproject.org/wiki/Installation page, I hope
 it's OK this way.

 I also added a Raspberry Pi overview page
 http://gdcproject.org/wiki/Raspberry Pi and a new installation guide
 for raspbian
 http://gdcproject.org/wiki/Raspberry%20Pi/build/raspbian_hardfloat
 would be great if someone could test the raspbian guide and report any
 success or failures. It works for me, but I'm not sure if I forgot to
 document some details.
Thanks a lot for this - it would have taken ages for me to trace that stuff down. Not sure if this is necessary, but I also installed 'patchutils' because "rules clean" complained about 'lsdiff' missing. However, I'm now still getting the error below. PS: the wiki page seems to have been deleted during the spam clean up. If you need the contents of the raspian_hardfloat page, the page is still open in my browser so I can still copy them out. --- (...) arm-linux-gnueabihf-gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -Ilto -I../../../gcc-4.7-4.7.1/src/gcc -I../../../gcc-4.7-4.7.1/src/gcc/lto -I../../../gcc-4.7-4.7.1/src/gcc/../include -I../../../gcc-4.7-4.7.1/src/gcc/../libcpp/include -I../../../gcc-4.7-4.7.1/src/gcc/../libdecnumber -I../../../gcc-4.7-4.7.1/src/gcc/../libdecnumber/dpd -I../libdecnumber ../../../gcc-4.7-4.7.1/src/gcc/lto/lto-object.c -o lto/lto-object.o arm-linux-gnueabihf-gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -o lto1 \ lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o main.o tree-browser.o libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -lmpc -lmpfr -lgmp -rdynamic -ldl -lz libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a (echo " set version-GCC 4.7.1"; \ if [ "" = "experimental" ]; \ then echo " set DEVELOPMENT"; \ else echo " clear DEVELOPMENT"; \ fi) > gcc-vers.texiT echo set srcdir /home/pi/develop/GDC/objdir/gcc/../../../gcc-4.7-4.7.1/src/gcc >> gcc-vers.texiT if [ -n "(GCC) " ]; then \ echo " set VERSION_PACKAGE (GCC) " >> gcc-vers.texiT; \ fi echo " set BUGURL uref{http://gcc.gnu.org/bugs.html}" >> gcc-vers.texiT; \ mv -f gcc-vers.texiT gcc-vers.texi echo timestamp > gcc.pod perl ../../../gcc-4.7-4.7.1/src/gcc/../contrib/texi2pod.pl ../../../gcc-4.7-4.7.1/src/gcc/doc/invoke.texi > gcc.pod No filename or title make[2]: [gcc.pod] Error 255 (ignored) echo timestamp > doc/gcc.1 (pod2man --center="GNU" --release="gcc-4.7.1" --date=2012-06-14 --section=1 gcc.pod > doc/gcc.1.T$$ && \ mv -f doc/gcc.1.T$$ doc/gcc.1) || \ (rm -f doc/gcc.1.T$$ && exit 1) echo timestamp > gpl.pod perl ../../../gcc-4.7-4.7.1/src/gcc/../contrib/texi2pod.pl ../../../gcc-4.7-4.7.1/src/gcc/doc/include/gpl_v3.texi > gpl.pod echo timestamp > doc/gpl.7 (pod2man --center="GNU" --release="gcc-4.7.1" --date=2012-06-14 --section=7 gpl.pod > doc/gpl.7.T$$ && \ mv -f doc/gpl.7.T$$ doc/gpl.7) || \ (rm -f doc/gpl.7.T$$ && exit 1) rm gcc.pod make[2]: Leaving directory `/home/pi/develop/GDC/objdir/gcc' Checking multilib configuration for libgcc... mkdir -p -- arm-linux-gnueabihf/libgcc Configuring in arm-linux-gnueabihf/libgcc configure: creating cache ./config.cache checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... mawk checking for arm-linux-gnueabihf-ar... ar checking for arm-linux-gnueabihf-lipo... lipo checking for arm-linux-gnueabihf-nm... /home/pi/develop/GDC/objdir/./gcc/nm checking for arm-linux-gnueabihf-ranlib... ranlib checking for arm-linux-gnueabihf-strip... strip checking whether ln -s works... yes checking for arm-linux-gnueabihf-gcc... /home/pi/develop/GDC/objdir/./gcc/xgcc -B/home/pi/develop/GDC/objdir/./gcc/ -B/opt/gdc/arm-linux-gnueabihf/bin/ -B/opt/gdc/arm-linux-gnueabihf/lib/ -isystem /opt/gdc/arm-linux-gnueabihf/include -isystem /opt/gdc/arm-linux-gnueabihf/sys-include checking for suffix of object files... configure: error: in `/home/pi/develop/GDC/objdir/arm-linux-gnueabihf/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/home/pi/develop/GDC/objdir' make: *** [all] Error 2
Aug 22 2012
parent reply Johannes Pfau <nospam example.com> writes:
Am Wed, 22 Aug 2012 21:50:58 +0200
schrieb S=C3=B6nke Ludwig <sludwig outerproduct.org>:

 Am 21.08.2012 21:01, schrieb Johannes Pfau:
 I restructured the http://gdcproject.org/wiki/Installation page, I
 hope it's OK this way.

 I also added a Raspberry Pi overview page
 http://gdcproject.org/wiki/Raspberry Pi and a new installation guide
 for raspbian
 http://gdcproject.org/wiki/Raspberry%20Pi/build/raspbian_hardfloat
 would be great if someone could test the raspbian guide and report
 any success or failures. It works for me, but I'm not sure if I
 forgot to document some details.
=20 Thanks a lot for this - it would have taken ages for me to trace that=20 stuff down. =20 Not sure if this is necessary, but I also installed 'patchutils' because "rules clean" complained about 'lsdiff' missing. =20 However, I'm now still getting the error below. =20 PS: the wiki page seems to have been deleted during the spam clean up. If you need the contents of the raspian_hardfloat page, the page is still open in my browser so I can still copy them out. =20
I moved the page, seems the wiki doesn't add a redirect automatically. The new url is http://gdcproject.org/wiki/Raspberry%20Pi/build/Raspbian%28Hardfloat%29 but it's also linked from the Install page.
 ---
=20
 (...)
Could you post /home/pi/develop/GDC/objdir/arm-linux-gnueabihf/libgcc/config.log please?
Aug 22 2012
parent reply =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
 PS: the wiki page seems to have been deleted during the spam clean
 up. If you need the contents of the raspian_hardfloat page, the page
 is still open in my browser so I can still copy them out.
I moved the page, seems the wiki doesn't add a redirect automatically. The new url is http://gdcproject.org/wiki/Raspberry%20Pi/build/Raspbian%28Hardfloat%29 but it's also linked from the Install page.
Ok, I see. I was quickly searching for a way on the wiki to the page but did just look in the developer section.
 Could you
 post /home/pi/develop/GDC/objdir/arm-linux-gnueabihf/libgcc/config.log
 please?
Attached.
Aug 22 2012
parent reply Johannes Pfau <nospam example.com> writes:
Am Wed, 22 Aug 2012 23:56:35 +0200
schrieb S=C3=B6nke Ludwig <sludwig outerproduct.org>:

 conftest.c:1:0: sorry, unimplemented: -mfloat-abi=3Dhard and VFP
I've had this issue before. The armhf-triplet.diff patch (shipped with debian sources) wasn't applied for some reason. So something went wrong when running "debian/rules patch". In my case I had to install the "lsb-release" package. It's included in the "Installing packages" command on the wiki page though, but maybe you've overlooked it? Anyway, you should run "debian/rules clean" and then "debian/rules patch" again and see if there's some suspicious output.
Aug 23 2012
parent reply =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
Am 23.08.2012 10:04, schrieb Johannes Pfau:
 Am Wed, 22 Aug 2012 23:56:35 +0200
 schrieb Sönke Ludwig <sludwig outerproduct.org>:

 conftest.c:1:0: sorry, unimplemented: -mfloat-abi=hard and VFP
I've had this issue before. The armhf-triplet.diff patch (shipped with debian sources) wasn't applied for some reason. So something went wrong when running "debian/rules patch". In my case I had to install the "lsb-release" package. It's included in the "Installing packages" command on the wiki page though, but maybe you've overlooked it? Anyway, you should run "debian/rules clean" and then "debian/rules patch" again and see if there's some suspicious output.
OK it was the package 'quilt' that was missing. Also the regex did not work for me, I changed it to just '^4\.7$' and then the setup went ok. I'm now compiling again.
Aug 23 2012
parent reply Johannes Pfau <nospam example.com> writes:
Am Thu, 23 Aug 2012 15:29:13 +0200
schrieb S=C3=B6nke Ludwig <sludwig outerproduct.org>:

=20
 OK it was the package 'quilt' that was missing.
Thanks, I added a "sudo apt-get build-dep gcc-4.7" step to the guide, that should hopefully fix all dependency issues.
 Also the regex did
 not work for me, I changed it to just '^4\.7$' and then the setup
 went ok. I'm now compiling again.
Strange, I thought I tested it. I also used the regex you posted at first, but it doesn't match 4.7.x, so it's not a general solution. Maybe I'll just add another elif statement with the regex you've posted. That adds a little code duplication, but it should work everywhere.
Aug 23 2012
parent =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
Am 23.08.2012 17:59, schrieb Johannes Pfau:
 Am Thu, 23 Aug 2012 15:29:13 +0200
 schrieb Sönke Ludwig <sludwig outerproduct.org>:

 OK it was the package 'quilt' that was missing.
Thanks, I added a "sudo apt-get build-dep gcc-4.7" step to the guide, that should hopefully fix all dependency issues.
Yes, that did the trick. Thanks again.
Aug 26 2012
prev sibling parent "Stefan Frijters" <sfrijters gmail.com> writes:
On Tuesday, 21 August 2012 at 19:01:17 UTC, Johannes Pfau wrote:
 I restructured the http://gdcproject.org/wiki/Installation I 
 also added a Raspberry Pi overview page
 http://gdcproject.org/wiki/Raspberry Pi and a new installation 
 guide
 for raspbian
 http://gdcproject.org/wiki/Raspberry%20Pi/build/raspbian_hardfloat
 would be great if someone could test the raspbian guide and 
 report any
 success or failures. It works for me, but I'm not sure if I 
 forgot to
 document some details.
I did this overnight on a fresh/stripped down copy of Raspbian prevent the sort of problem that Sönke Ludwig has had I also added apt-get install gcc-4.7-source autogen Just looking at the dependencies of gcc-4.7-source and installing those should work as well (as now you get the source twice), but I was lazy. My configure was also slightly different (left out some c++ related stuff and used -disable-nls ), but nothing that should have affected anything important I think. Thanks again for the clean instructions / wiki update!
Aug 23 2012