On Wed, Jun 20, 2007 at 07:31:44PM -0700, michael.a wrote:
> michael.a wrote:
> > I should probably just find that Debian patch and install into the system
> > directories, but I still don't understand if there are any factors outside
> > of gcc necessary for a successful build (could glibc be related to the
> > crt.o files -- and are the crt.o files tied to the system, or do they just
> > link to shared libraries)
> >
>
> I think I have maybe the proper debian patches for gcc from here:
>
> http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/gcc-defaults_1.32.tar.gz
That's Ubuntu, not debian. Similar, yet different.
> But even if so, I have no idea what to do with it. Lots of files that look
> like preinst postinst prerm postrm... of course the README file provided is
> absolutely zero help, nor is it particularly possible to not get a swamp of
*looks* Looks helpful to me:
The Debian GNU Compiler Collection Setup
========================================
Abstract
--------
Debian uses a default version of GCC for most packages; however, some
packages require another version. So, Debian allows several versions
of GCC to coexist on the same system, and selects the default version
by means of the gcc-defaults package, which creates symbolic links as
appropriate.
Versions of GCC present in Debian Etch
--------------------------------------
...
The default compiler versions for Debian GNU/Linux on i386 are
(minor version numbers omitted):
cpp : cpp-4.1
gcc : gcc-4.1
g++ : g++-4.1
...
> junk responses from google. Debian doesn't appear to me to actually provide
> GCC sources from the repository, but does provide Debian patches.
Sure it does. Helps to get the right package:
$ apt-get source gcc-4.1
...
$ ls -lad gcc*
4 drwxr-xr-x 3 root root 4096 2007-06-21 12:35 gcc-4.1-4.1.1ds2
6956 -rw------- 1 root root 7109677 2006-12-11 06:02
gcc-4.1_4.1.1ds2-21.diff.gz
4 -rw------- 1 root root 2407 2006-12-11 06:02 gcc-4.1_4.1.1ds2-21.dsc
36156 -rw------- 1 root root 36982690 2006-10-21 23:17
gcc-4.1_4.1.1ds2.orig.tar.gz
Which gives us:
gcc-4.1_4.1.1ds2.orig.tar.gz - the original source
gcc-4.1_4.1.1ds2-21.dsc - a description of the package
gcc-4.1_4.1.1ds2-21.diff.gz - debians modifications to the original
> I've never understood why linux has to be so damn opaque about
> documentation... makes for a lot of unnecessary help requests.
Helps to read the right documentation. Start with the stuff on its
package management tools and move on from there.
--
"To the extent that we overreact, we proffer the terrorists the
greatest tribute."
- High Court Judge Michael Kirby