Your message dated Tue, 13 Oct 2015 18:30:05 +0000
with message-id <[email protected]>
and subject line Re: Bug#471513: Please add an example hook for using gcc
snapshot easily
has caused the Debian Bug report #471513,
regarding Please add an example hook for using gcc snapshot easily
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
471513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471513
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pbuilder
Severity: wishlist
Tags: patch
Hi!
Please consider adding an example hook for use with gcc-snapshot build
testing. I have attached an example which does the needful for gcc,
g++ and gfortran (which I needed), which you may use to base the
example.
Thanks to Paul Wise for the original idea.
Kumar
--
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
#!/bin/bash
aptitude -R -y install gcc-snapshot
cat > /usr/local/bin/gcc-snapshot <<EOF
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
PATH=/usr/lib/gcc-snapshot/bin:$PATH
gcc "\$@"
EOF
chmod 755 /usr/local/bin/gcc-snapshot
cat > /usr/local/bin/g++-snapshot <<EOF
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
PATH=/usr/lib/gcc-snapshot/bin:$PATH
g++ "\$@"
EOF
chmod 755 /usr/local/bin/g++-snapshot
cat > /usr/local/bin/gfortran-snapshot <<EOF
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
PATH=/usr/lib/gcc-snapshot/bin:$PATH
g++ "\$@"
EOF
chmod 755 /usr/local/bin/gfortran-snapshot
rm -f /usr/bin/gcc /usr/bin/g++ /usr/bin/gfortran
ln -s /usr/local/bin/gcc-snapshot /usr/bin/gcc
ln -s /usr/local/bin/g++-snapshot /usr/bin/g++
ln -s /usr/local/bin/gfortran-snapshot /usr/bin/gfortran
#/bin/bash < /dev/tty > /dev/tty
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
tags -1 + wontfix
thanks
On Sat, Jan 02, 2010 at 05:25:09PM +0100, Loïc Minier wrote:
> On Tue, Mar 18, 2008, Kumar Appaiah wrote:
> > Please consider adding an example hook for use with gcc-snapshot build
> > testing. I have attached an example which does the needful for gcc,
> > g++ and gfortran (which I needed), which you may use to base the
> > example.
>
> Thanks; I think that's a good idea; I have some concerns with the
> implementation though:
I too like the idea, though I share the same concerns with the
implementation.
Over those concern I shall add I'd prefer having support for this in an
already present hook, namely
D65various-compiler-support
Also, why doesn't gcc-snapshot have a wrapper in /usr/bin instead?
something like setting LD_LIBRARY_PATH, PATH and then forwarding
everything to the actual binary?.
If that was the case adding them to D65various-compiler-support would be
super easy.
Until then, this is wontfix for me.
Also, consider that it's not in our interest to ship load of *example*
scripts, because then we have to keep them working, and who known what
happens to compilers...
If somebody want to give this another shot, with another patch, please
reopen the bug.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
--- End Message ---