Skip to content
Snippets Groups Projects
Commit 9e451553 authored by Benjamin Kosnik's avatar Benjamin Kosnik Committed by Benjamin Kosnik
Browse files

PR libstdc++/29722 continued

2007-01-24  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/29722 continued
	* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
	libsupc++ library directory.
	* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
	path specification.

From-SVN: r121117
parent f767122b
No related branches found
No related tags found
No related merge requests found
2007-01-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/29722 continued
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
libsupc++ library directory.
* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
path specification.
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec, * libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec,
......
// { dg-do link } // { dg-do link }
// { dg-options "-x c -L../libsupc++/.libs -lsupc++" } // { dg-options "-x c -lsupc++" }
// Copyright (C) 2006 Free Software Foundation, Inc. // Copyright (C) 2006, 2007 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
......
# libstdc++ "tool init file" for DejaGNU # libstdc++ "tool init file" for DejaGNU
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
...@@ -359,6 +359,7 @@ proc v3_target_compile_as_c { source dest type options } { ...@@ -359,6 +359,7 @@ proc v3_target_compile_as_c { source dest type options } {
global wrap_flags global wrap_flags
global includes global includes
global flags_file global flags_file
global blddir
if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } { if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } {
lappend options "libs=${gluefile}" lappend options "libs=${gluefile}"
...@@ -383,8 +384,14 @@ proc v3_target_compile_as_c { source dest type options } { ...@@ -383,8 +384,14 @@ proc v3_target_compile_as_c { source dest type options } {
set includesbase "${comp_base_dir}/include/c++/${version}" set includesbase "${comp_base_dir}/include/c++/${version}"
set includestarget "${includesbase}/${machine}" set includestarget "${includesbase}/${machine}"
set cc_final [concat $cc_final "-I$includesbase -I$includestarget"] set cc_final [concat $cc_final "-I$includesbase -I$includestarget"]
set libsup "${comp_base_dir}/lib"
} else {
set libsup "${blddir}/libsupc++/.libs"
} }
set cc_final [concat $cc_final "-L$libsup"]
lappend options "compiler=$cc_final" lappend options "compiler=$cc_final"
lappend options "timeout=600" lappend options "timeout=600"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment