* newbie trying to install and build
@ 2008-03-27 21:40 chris kuhlman
2008-04-02 15:28 ` Lionel B
0 siblings, 1 reply; 3+ messages in thread
From: chris kuhlman @ 2008-03-27 21:40 UTC (permalink / raw)
To: gcc-help
Hello:
I downloaded gcc-4.3.0 from the gnu site and am trying to install and
build it on a linux cluster with i86 processors.
I tried to find prebuilt binaries but was able to.
So, I am trying to build it from the source. I have read through the
online documentation, but am hoping that default settings will be OK,
because there was a lot I did not understand. gcc versions 3.3.5,
3.4.3; 4.0.1-4.0.3, up to 4.1.0 are already on the machine, so I figured
that I could build from one of those.
However, I look in the gcc-4.3.0 directory and I type "make" and I get:
make: *** No targets specified and no makefile found. Stop.
There is a configure script and I ran that. However, in general, I am
looking for instructions on how to proceed. I could not find explicit
instruction for doing the build within gcc and the URL:
http://gcc.gnu.org/install/
What am I doing wrong?
I am most grateful.
ck
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie trying to install and build
2008-03-27 21:40 newbie trying to install and build chris kuhlman
@ 2008-04-02 15:28 ` Lionel B
0 siblings, 0 replies; 3+ messages in thread
From: Lionel B @ 2008-04-02 15:28 UTC (permalink / raw)
To: gcc-help
On Thu, 27 Mar 2008 17:39:45 -0400, chris kuhlman wrote:
> Hello:
>
> I downloaded gcc-4.3.0 from the gnu site and am trying to install and
> build it on a linux cluster with i86 processors.
>
> I tried to find prebuilt binaries but was able to.
>
> So, I am trying to build it from the source. I have read through the
> online documentation, but am hoping that default settings will be OK,
> because there was a lot I did not understand. gcc versions 3.3.5,
> 3.4.3; 4.0.1-4.0.3, up to 4.1.0 are already on the machine, so I figured
> that I could build from one of those.
>
> However, I look in the gcc-4.3.0 directory and I type "make" and I get:
> make: *** No targets specified and no makefile found. Stop.
The documentation at http://gcc.gnu.org/install/ certainly doesn't tell
you to do that.
> There is a configure script and I ran that. However, in general, I am
> looking for instructions on how to proceed. I could not find explicit
> instruction for doing the build within gcc and the URL:
> http://gcc.gnu.org/install/
The instructions there look pretty explicit to me. Pay particular heed to
http://gcc.gnu.org/install/configure.html
"First, we highly recommend that GCC be built into a separate directory
than the sources which does not reside within the source tree..."
> What am I doing wrong?
Not reading the documentation with due care and attention? ;-)
--
Lionel B
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie trying to install and build
@ 2008-03-27 22:45 Bill McEnaney
0 siblings, 0 replies; 3+ messages in thread
From: Bill McEnaney @ 2008-03-27 22:45 UTC (permalink / raw)
To: gcc-help
Chris,
Here's what I do when I build gcc with my Sun workstation that runs
Solaris 8. I'm sorry about the line break in step 7. The whole
"configure" command should be on only one line.
>
1. Ftp the gcc tarball from ftp.gnu.org.
2. Copy the tarball into /usr/src.
3. Uncompress the tarball with bunzip2.
4. Untar the tarball.
5. Create a directory that's in /usr/src, but outside gcc's source tree.
For example, I might call that outer directory "gc."
6. Cd into that other directory, into the one I call "gc".
7. Type, for example,
"/usr/src/gcc-4.3.0/configure --with-ld=/usr/ccs/bin/ld
--with-as=/usr/ccs/bin/as" without the quotation marks.
8. Run "make bootstrap".
9. run "make install".
10. Strip the gcc programs that the worksation installs in /usr/local/bin.
12. Delete the gcc source tree and the "gc" directory both from /usr/src.
HTH.
Bill
> >
> > I downloaded gcc-4.3.0 from the gnu site and am trying to install and
> > build it on a linux cluster with i86 processors.
> >
> > I tried to find prebuilt binaries but was able to.
> >
> > So, I am trying to build it from the source. I have read through the
> > online documentation, but am hoping that default settings will be OK,
> > because there was a lot I did not understand. gcc versions 3.3.5,
> > 3.4.3; 4.0.1-4.0.3, up to 4.1.0 are already on the machine, so I
figured
> > that I could build from one of those.
> >
> > However, I look in the gcc-4.3.0 directory and I type "make" and I get:
> > make: *** No targets specified and no makefile found. Stop.
> >
> > There is a configure script and I ran that. However, in general, I am
> > looking for instructions on how to proceed. I could not find explicit
> > instruction for doing the build within gcc and the URL:
> > http://gcc.gnu.org/install/
> >
> > What am I doing wrong?
> >
> > I am most grateful.
> > ck
> >
> >
> >
>
> ________________________________________________________________
> Please visit a saintly hero:
> http://www.jakemoore.org
>
> And a boy with a wonderful wish:
> http://shaneswish.com/
>
>
>
________________________________________________________________
Please visit a saintly hero:
http://www.jakemoore.org
And a boy with a wonderful wish:
http://shaneswish.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-02 12:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-27 21:40 newbie trying to install and build chris kuhlman
2008-04-02 15:28 ` Lionel B
2008-03-27 22:45 Bill McEnaney
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).