public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* checking for suffix of object file
@ 2008-08-30  0:38 Jerin Joy
  2008-08-31  0:53 ` Brian Dessent
  0 siblings, 1 reply; 2+ messages in thread
From: Jerin Joy @ 2008-08-30  0:38 UTC (permalink / raw)
  To: gcc-help

I'm trying to build gcc 4.3.1 on Linux. The configure works. 'make'
dies with the error:

checking for suffix of object files... configure: error: cannot
compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/import/dtg-data20/jj155244/tools/gcc-4.3.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/import/dtg-data20/jj155244/tools/gcc-4.3.1'
make: *** [all] Error 2

Jerin

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

* Re: checking for suffix of object file
  2008-08-30  0:38 checking for suffix of object file Jerin Joy
@ 2008-08-31  0:53 ` Brian Dessent
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dessent @ 2008-08-31  0:53 UTC (permalink / raw)
  To: Jerin Joy; +Cc: gcc-help

Jerin Joy wrote:

> I'm trying to build gcc 4.3.1 on Linux. The configure works. 'make'
> dies with the error:
> 
> checking for suffix of object files... configure: error: cannot
> compute suffix of object files: cannot compile
> See `config.log' for more details.

As it says, the config.log (in the libgcc subdirectory, not toplevel)
will contain the answer.  Most likely you will see an error along the
lines of "unable to find shared library libgmp.so" (or libmpfr.so.) 
This happens if you installed them as shared libraries in a non-system
location without informing the dynamic linker of their location, via
LD_LIBRARY_PATH or ld.so.conf.

Brian

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

end of thread, other threads:[~2008-08-28 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-30  0:38 checking for suffix of object file Jerin Joy
2008-08-31  0:53 ` Brian Dessent

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