public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: GCC install question
       [not found] <381C9713.133859FF@lcd-kentucky.com>
@ 1999-11-03  7:48 ` Martin Kahlert
  1999-11-30 23:28   ` Martin Kahlert
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Kahlert @ 1999-11-03  7:48 UTC (permalink / raw)
  To: help-gcc

[Posted and mailed]

In article <381C9713.133859FF@lcd-kentucky.com>,
	James Long <james@lcd-kentucky.com> writes:
> I am trying to install the latest version of GCC on my Caldera Linux box
> and am having some troubles. I would like the new version of GCC to be
> my default and replace my existing GCC. I have read the web pages and
> install instructions, but I think that I am misunderstanding something.
> 
> Here's what I am doing.
> 
> I expanded the files into /home/james/gcc-2.95.2
> I created a directory called /home/james/gccmake
This should do the trick:

cd /home/james/gccmake
/home/james/gcc-2.95.2/configure --enable-shared --enable-languages=c++,f77
make bootstrap-lean
make install

This will install c (although not explicitly specified), c++ and fortran.

If you insist on prefix, then use --prefix=/usr but
if i remember correctly, that's the default and the installation
instructions say, you should *not* explicitly use --prefix=/usr.

Hope, that helps,
Martin.

-- 
The early bird gets the worm. If you want something else for       
breakfast, get up later.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCC install question
  1999-11-03  7:48 ` GCC install question Martin Kahlert
@ 1999-11-30 23:28   ` Martin Kahlert
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Kahlert @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

[Posted and mailed]

In article <381C9713.133859FF@lcd-kentucky.com>,
	James Long <james@lcd-kentucky.com> writes:
> I am trying to install the latest version of GCC on my Caldera Linux box
> and am having some troubles. I would like the new version of GCC to be
> my default and replace my existing GCC. I have read the web pages and
> install instructions, but I think that I am misunderstanding something.
> 
> Here's what I am doing.
> 
> I expanded the files into /home/james/gcc-2.95.2
> I created a directory called /home/james/gccmake
This should do the trick:

cd /home/james/gccmake
/home/james/gcc-2.95.2/configure --enable-shared --enable-languages=c++,f77
make bootstrap-lean
make install

This will install c (although not explicitly specified), c++ and fortran.

If you insist on prefix, then use --prefix=/usr but
if i remember correctly, that's the default and the installation
instructions say, you should *not* explicitly use --prefix=/usr.

Hope, that helps,
Martin.

-- 
The early bird gets the worm. If you want something else for       
breakfast, get up later.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* gcc install question
@ 2004-02-11 20:56 Bill Dirks
  0 siblings, 0 replies; 3+ messages in thread
From: Bill Dirks @ 2004-02-11 20:56 UTC (permalink / raw)
  To: gcc-help

Hello, 
                                                                                                    
       
   I am new to linux and and am trying to install the latest version of 
                                           
gcc (3.3.2) on Red Hat 7.3.  I checked the prerequisites and installed the newest version 
                                       
of binutils.  I then made a objdir and ran configure then make.  When make 
                                       
was running it gave the following list of errors and then exited out.  Does anyone have an 
                                           
idea of what went wrong? 
                                                                                         
Thanks, 
                                                                                                    
      
Bill   

/root/temp/gcc-3.3.2/boehm-gc/os_dep.c:20:30: linux/version.h: No such file or directory
In file included from /usr/include/linux/types.h:5,
                  from /usr/include/asm/signal.h:4,
                  from /root/temp/gcc-3.3.2/boehm-gc/os_dep.c:27:
/usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /root/temp/gcc-3.3.2/boehm-gc/os_dep.c:27:
/usr/include/asm/signal.h:21: error: conflicting types for `sigset_t'
/usr/include/signal.h:48: error: previous declaration of `sigset_t'
/usr/include/asm/signal.h:137: error: parse error before '.' token
/usr/include/asm/signal.h:141: error: parse error before '}' token
/usr/include/asm/signal.h:143: error: redefinition of `struct sigaction'
/usr/include/asm/signal.h:144: error: parse error before '.' token
/usr/include/asm/signal.h:147: error: conflicting types for `sa_mask'
/usr/include/asm/signal.h:138: error: previous declaration of `sa_mask'
/usr/include/asm/signal.h:148: error: parse error before '}' token
/usr/include/asm/signal.h:171: error: redefinition of `struct sigaltstack'
/usr/include/asm/signal.h:183: error: conflicting types for `sigaddset'
/usr/include/signal.h:209: error: previous declaration of `sigaddset'
/usr/include/asm/signal.h:188: error: conflicting types for `sigdelset'
/usr/include/signal.h:212: error: previous declaration of `sigdelset'
/root/temp/gcc-3.3.2/boehm-gc/os_dep.c: In function `GC_dirty_init':
/root/temp/gcc-3.3.2/boehm-gc/os_dep.c:2389: warning: passing arg 1 of `sigaddset' from 
incompatible pointer type
make[3]: *** [os_dep.lo] Error 1
make[3]: Leaving directory `/root/temp/gcc-3.3.2.build/i686-pc-linux-gnu/boehm-gc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/temp/gcc-3.3.2.build/i686-pc-linux-gnu/boehm-gc'
make[1]: *** [all-target-boehm-gc] Error 2
make[1]: Leaving directory `/root/temp/gcc-3.3.2.build'
make: *** [bootstrap-lean] Error 2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-11 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <381C9713.133859FF@lcd-kentucky.com>
1999-11-03  7:48 ` GCC install question Martin Kahlert
1999-11-30 23:28   ` Martin Kahlert
2004-02-11 20:56 gcc " Bill Dirks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).