This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/46086] fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Nov 2010 13:38:43 +0000
- Subject: [Bug bootstrap/46086] fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile
- Auto-submitted: auto-generated
- References: <bug-46086-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-16 13:38:21 UTC ---
(In reply to comment #7)
> configure: error: in
> `/usr/ports/lang/gcc45/work/build/sparc64-portbld-freebsd9.0/libgomp':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
Why do people always ignore this line?
At a guess, I'd say you don't have the prerequisites installed in a system dir,
or haven't re-run ldconfig, so the dynamic linker can't find the libs, in which
case try setting LD_LIBRARY_PATH