------- Comment #5 from pda at freeshell dot org  2005-11-29 21:03 -------
Subject: Re:  Failure to build, <command line>:1:2: error: missing '(' after
predicate

On Fri, Nov 25, 2005 at 08:27:34PM -0000, pinskia at gcc dot gnu dot org wrote:
> How did you configure GCC?
> >From using google it sounds like you configured GCC to use the GNU binutils 
> >but
> it is using the native toolchain instead.

Not intentionally, but only a careful reading of the documentation
reveals to me that PATH is used (non-intuitively in my view) for as
and ld even when --with-gnu-as and --with-gnu-ld are given.

Using GNU as and --with-ld=/usr/ccs/bin/ld does indeed give me the
same error, but forcing GNU ld stops the build even sooner with:
...
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for sin in -lm... configure: error: Link tests are not
allowed after GCC_NO_EXECUTABLES.
gmake: *** [configure-target-libstdc++-v3] Error 1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25025

Reply via email to