RE: gcc3.4.0 install problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Got a bit curious and pulled gcc3.4.2. It seems to work :)

[muthu@Sakthi bin]$ pwd
/devel/gcc3.4.2/out/bin
[muthu@Sakthi bin]$ ./gcc -v hello.c
Reading specs from
/devel/gcc3.4.2/out/lib/gcc/i686-pc-linux-gnu/3.4.2/specs
Configured with: ../gcc/configure --prefix=/devel/gcc3.4.2/out
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.2
 /devel/gcc3.4.2/out/libexec/gcc/i686-pc-linux-gnu/3.4.2/cc1 -quiet -v
hello.c -quiet -dumpbase hello.c -mtune=pentiumpro -auxbase hello -version
-o /tmp/ccnvxcQo.s
ignoring nonexistent directory
"/devel/gcc3.4.2/out/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /devel/gcc3.4.2/out/include
 /devel/gcc3.4.2/out/lib/gcc/i686-pc-linux-gnu/3.4.2/include
 /usr/include
End of search list.
GNU C version 3.4.2 (i686-pc-linux-gnu)
        compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31947
 as -V -Qy -o /tmp/ccI0HQzF.o /tmp/ccnvxcQo.s
GNU assembler version 2.13.90.0.18 (i386-redhat-linux) using BFD version
2.13.90.0.18 20030206
 /devel/gcc3.4.2/out/libexec/gcc/i686-pc-linux-gnu/3.4.2/collect2
--eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2
/usr/lib/crt1.o /usr/lib/crti.o
/devel/gcc3.4.2/out/lib/gcc/i686-pc-linux-gnu/3.4.2/crtbegin.o
-L/devel/gcc3.4.2/out/lib/gcc/i686-pc-linux-gnu/3.4.2
-L/devel/gcc3.4.2/out/lib/gcc/i686-pc-linux-gnu/3.4.2/../../..
/tmp/ccI0HQzF.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh
/devel/gcc3.4.2/out/lib/gcc/i686-pc-linux-gnu/3.4.2/crtend.o
/usr/lib/crtn.o
[muthu@Sakthi bin]$ ./a.out
Hello world
[muthu@Sakthi bin]$




On Thu, 16 Sep 2004, Muthukumar Ratty wrote:

>
>
> > The docs say this:
> >
> > 	For a native build issue the command make bootstrap.
> >
>
> Yeah, saw that. I am not a gcc developer.. so dont know what is the
> difference between bootstrap and without. All I can say is
> "it worked for me for 3.2.2 (tm)" :)
>
>
>
>
> > So, it sounds to me like, unless you are building a cross compiler,
> > "make bootstrap" is indeed the correct command to use when building GCC,
> > even if you already have another version of it on your system.
> >
> > Thanks,
> > Lyle
> >
> >
> > -----Original Message-----
> > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
> > Behalf Of Muthukumar Ratty
> > Sent: Thursday, September 16, 2004 5:46 PM
> > To: Bras, Gerard
> > Cc: Muthukumar Ratty; Virender Kashyap; GCC HELP
> > Subject: RE: gcc3.4.0 install problem
> >
> >
> > I did this a while ago and my info might have been obsoleted :)
> > Anyway just to upgrade the gcc with same binutils and stuff hwat I did
> > is,
> > iirc...
> >
> > 1. configure with necessary option
> > 2. make
> > 3. make install
> >
> > ofcourse you would want this to install in a different location so it
> > wont
> > corrupt the pre existing gcc.
> >
> >
> >
> > On Thu, 16 Sep 2004, Bras, Gerard wrote:
> >
> > > This raises an interesting question which the install docs have not
> > clarified to my satisfaction.  Suppose you already have a working gcc
> > tool chain and you are doing what the original poster is, getting a
> > later release up.  Are there make targets more suitable for this?  It
> > has always seemed a little odd to me to have to do the bootstrap every
> > time.
> > >
> > > gerard
> > >
> > > -----Original Message-----
> > > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx]On
> > > Behalf Of Muthukumar Ratty
> > > Sent: Thursday, September 16, 2004 11:03 AM
> > > To: Virender Kashyap
> > > Cc: GCC HELP
> > > Subject: Re: gcc3.4.0 install problem
> > >
> > >
> > >
> > > You dont need bootstrap, unless you want to work on gcc itself.
> > >
> > > On Thu, 16 Sep 2004, Virender Kashyap wrote:
> > >
> > > > hi
> > > >    i am not able to install gcc3.4.0 on my comp.
> > > > i already have gcc3.3 installed on my comp
> > > >
> > > > i do following :
> > > > mkdir objdir
> > > > cd objdir
> > > > ../gcc-source/configure --enable-languages=c,c++
> > > >
> > > > then i do
> > > > make bootstrap
> > > >
> > > > but here i see the same things being repeated (some checking
> > messages)and
> > > > displayed again and again. how many times doess checking happen ?
> > > >
> > > >
> > > >
> > > > THanks and Regards.
> > > > Virender
> > > > ----------------------------------------------
> > > > Virender Kashyap
> > > >
> > >
> >
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux