Problems using gcc-3.4.0 to run binutils testsuite: cdtest ERROR: cc1plus: error: unrecognized command line option "-fgnu-linker"
Alan Modra
amodra@bigpond.net.au
Thu Apr 8 14:20:00 GMT 2004
On Thu, Feb 19, 2004 at 09:54:26AM -0500, Ian Lance Taylor wrote:
> If somebody wants to test whether gcc supports -fgnu-linker and use it
> if available, that would be fine. But I think it would also be OK to
> just remove the option.
Done.
ld/testsuite/ChangeLog
PR 47.
* ld-cdtest/cdtest.exp: Remove -fgnu-linker.
Index: ld/testsuite/ld-cdtest/cdtest.exp
===================================================================
RCS file: /src/cygnus-cvs/src/ld/testsuite/ld-cdtest/cdtest.exp,v
retrieving revision 1.3
diff -u -p -r1.3 cdtest.exp
--- ld/testsuite/ld-cdtest/cdtest.exp 1 Aug 2001 14:37:47 -0000 1.3
+++ ld/testsuite/ld-cdtest/cdtest.exp 8 Apr 2004 14:12:14 -0000
@@ -35,9 +35,9 @@ if { [which $CXX] == 0 } {
return
}
-if { ![ld_compile "$CXX $CXXFLAGS -fgnu-linker -fno-exceptions" $srcdir/$subdir/cdtest-foo.cc tmpdir/cdtest-foo.o]
- || ![ld_compile "$CXX $CXXFLAGS -fgnu-linker -fno-exceptions" $srcdir/$subdir/cdtest-bar.cc tmpdir/cdtest-bar.o]
- || ![ld_compile "$CXX $CXXFLAGS -fgnu-linker -fno-exceptions" $srcdir/$subdir/cdtest-main.cc tmpdir/cdtest-main.o] } {
+if { ![ld_compile "$CXX $CXXFLAGS -fno-exceptions" $srcdir/$subdir/cdtest-foo.cc tmpdir/cdtest-foo.o]
+ || ![ld_compile "$CXX $CXXFLAGS -fno-exceptions" $srcdir/$subdir/cdtest-bar.cc tmpdir/cdtest-bar.o]
+ || ![ld_compile "$CXX $CXXFLAGS -fno-exceptions" $srcdir/$subdir/cdtest-main.cc tmpdir/cdtest-main.o] } {
unresolved $test1
unresolved $test2
return
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list