public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Problems building gcc on my mandrake
       [not found] <88a8511c0505200935c03378e@mail.gmail.com>
@ 2005-05-20 17:12 ` Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2005-05-20 17:12 UTC (permalink / raw)
  To: Mehul; +Cc: gcc, gcc-help

On Fri, May 20, 2005 at 12:35:26PM -0400, Mehul wrote:

> Hi,
> 
> I am trying to build/install gcc on my Linux laptop and I am having
> problems doing that. I have read through the documentation and nothing
> seems to help me out. I would therefore like some1 to help me out.

This list is for GCC development, your question is better suited to
gcc-help@gcc.gnu.org

> I downloaded gcc.4.0.0, unzipped, after which I had two directories
> under the main directory gcc and libs***. The documentation says that
> I need to create separate directory for object files. but under which
> direcrtory should I  create them.

Neither, create it somewhere else, _anywhere_ else - but not in the same
directory as the sources.

> It says once I am done configuring I shoudl run the configure script
> to build it. I couldnt find a configure script under gcc, all I have
> is *.c files. I found one under libs**** directory but when I try to
> run that it says
> "configure: error: cannot find install-sh or install.sh in . ./.. ./../.."
> 
> Can some1 please tell what I doing wrong.

What about in the top-level directory above gcc and lib*** ?

This should work:

tar xzvf gcc-X.Y.Z.tar.gz
[creates a directory called something like gcc-X.Y.Z]
mkdir obj
cd obj
../gcc-X.Y.Z/configure


jon

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-20 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <88a8511c0505200935c03378e@mail.gmail.com>
2005-05-20 17:12 ` Problems building gcc on my mandrake Jonathan Wakely

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).