Help Upgrading to GCC 2.6.2/libc 4.6.27

Help Upgrading to GCC 2.6.2/libc 4.6.27

Post by Alan Wi » Sat, 08 Apr 1995 04:00:00



Before I get started:  yes, I've read the GCC-FAQ, various other HOWTOS and
FAQS, READMES and a couple of linux books.  And I'm actually more concerned
about the libc libraries.

I installed linux on my PC because I wanted to learn and to have some fun.
Yesterday, out of sheer boredom, I decided to upgrade from gcc 2.5.8 to gcc
2.6.2.  From sunsite I picked up:

binutils-2.5.2.6.bin.tar.gz
binutils-2.5.2.6.man.tar.gz
extra-4.6.27.tar.gz
gcc-2.6.2-p1.tar.gz
gcc-2.6.2-p2.tar.gz
image-4.6.27.tar.gz
inc-4.6.27.tar.gz
libc-4.7.27.tar.gz
libg++2.6.2.1.bin.tar.gz
tools-2.16.tar.gz

and the appropriate release.* files.

I followed all of the directions in the release files and then I decided to
compile the libc package myself.  I compiled the tools archive using my
newly installed gcc-2.6.2.  I then unarchived the libc package and did the
typical:

./configure
make clean
make depend
make

Beforehand I also ran a make configure in my /usr/src/linux directory.  To
play it safe I redirected stderr and stdout to separate files before I
started the compile and then went to bed.  When I got up this morning I
found the stderr file to contain 3500+ lines.  This doesn't sound right to
me!  I ran a grep -vi 'warning' on the file because I figured warnings
weren't of much concern.  As it turns out only about 750 lines aren't
directly warning related.  

Point is:  I have a WHOLE LOT of errors along the line of "File Not Found".
That doesn't sound right.  I can overlook a few errors granted but 3500 or
even 750 is still enough to worry me.

Does anyone know if I'm doing something wrong?  I would be happy to email
the stderr file to anyone who would be willing to help.  I'd post it, but
you get the idea about the file size.  I would REALLY like to reduce the
number of errors here.  I'm afraid I'm a newbie to C programming (although
not to programming in general) and I don't want to have to mess with the
source too much.  

Any help or suggestions would be appreciated.

Incidentally, gcc seems to run fine.  It's just these libraries I'm concerned
about.

-Alan

--

/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\
   Alan Wild "Speed News Guy" WWW:http://www.spd.louisville.edu/~arwild01/

 thissignaturewaswrittentosavebandwidth.ifyoucanreadthisyouneedtoseeaneyedr.
/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\

 
 
 

1. help on upgrading GCC to 4.7.0 from 4.6.27

I am getting a segment error after untarring 4.7.0 and attempting to
recompile the kernal. Is there a "howto" on how to do this successfully
(upgrade compilers that is)?
        I would also like to upgrade the G++ lib to the same level, are there
any gotchas involved here as well? I must admit that I could not find
info on how to do this (that was understandable by me, lets put it that
way.) I have succesfully upgraded the kernal from 1.2.8->1.2.13 as well
as make 3.73 ->3.74, so I am not totally ignorant :)

--
Doug Glenn

2. Problems involving SSL under Sun WebServer

3. Recompiling gcc 2.6.2/libc 4.6.27

4. XF86332, install, and 8.3 filenames

5. Problems with gcc 2.6.3 and libc 4.6.27 (2nd post)

6. DNS Confusion

7. a.out upgrade from libc 4.6.27 ??

8. where is _main in locore.s?

9. /lib/libc.so.4.5.26 and /lib/libc.so.4.6.27

10. Help, installed 3.1.2b, now incompatible library error '.lib/libc.so.4.6.27'

11. help with libc.so.4.6.27 needed

12. HELP compiling libc 4.6.27?