This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: need more info on gcc install


At 23:02 19/10/00 , Charles Beh wrote:
>Hi guys:
>
>             I have untar the downloaded file. but the installation looks
>
>a bit too complicated.
>Please advise.

RTFM is the best advice I can think of when doing things like this. 
http://www.linuxdoc.org is an excellent place to RTFM. Specifically 
http://www.linuxdoc.org/guides.html has plenty of getting-started type 
information.

>I have a gcc-2.95  directoryafter untar ; and in it  a
>bunch of dir and files
>what should I do now. ./INSTALL does not do any thing  at root(#)
>prompt.

That's because INSTALL isn't an executable.

For future reference, the following sequence may be useful:

tar -xzf [your new software].tar.gz
cd [your new software directory]
./configure
make
make install

>what should I do to start compiling using gcc or g++.
>in the configure web page , it ask us to mkdir objdir where should htis
>dir be made???

inside the directory that is created when you untar the .tar.gz file

>In order to run the command    srcdir/configure [target] [options]
>successfully  what should be done first; there is nothing in objdir;
>should I make gcc-2.95 part of hte path and objdir part of hte path
>where is this srcdir/configure located.

cd [wherever you put gcc-2.95]
mkdir objdir
cd objdir
../configure
make
make install

should do it. But I _seriously_ recommend you try installing some other 
packages first, just so you know how the process works. If you break the 
gcc install you might end up in a very uncomfortable position, like say for 
example beside yourself being unable to compile anything else.

You may also want to grab a binary distribution of gcc. It's a little less 
complicated, but it's still not Windows.

bye
John


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]