On Mon, Sep 02, 2002 at 12:57:55PM +0200, voguemaster wrote:
> >
> >inside the top gcc source directory,
> >mkdir somedir
> >cd somedir
> >../configure --prefix=/usr/local/some/directory/for/this/gcc
> >make install
> >
> >Then, put /usr/local/some/directory/for/this/gcc/bin in the beginning of
> >your path. For c++ programs you will also want to put
> >/usr/local/some/directory/for/this/gcc/lib in your LD_LIBRARY_PATH.
> >
> >I hold 3 versions this way, soon 4 (3.2).
> >If you want to set a default, link to /usr/local/bin.
> >
> 
> Great, thanks!!!
> What about header files (C/C++), anything special to do ?
> Like, maybe set the paths for gcc to find those headers ?

None that I had to. gcc finds them by itself if compiled with --prefix
(as opposed, say, to unpacking a binary rpm with "--prefix" or
"--relocate", which I find dangerous to do for things like gcc).

And, BTW, ignore the previous mail (about "../configure") - apparently
only locally-delivered mail dropped a dot.

> 
> Eli
> 
> 
> "There's so many different worlds
>  So many different suns
>  And we have just one world
>  But we live in different ones.."
>  
>  - Dire Straits
> 
> 
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

        Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to