This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Testsuite with static libs
- From: Michael Eager <eager at eagerm dot com>
- To: NightStrike <nightstrike at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 22 Oct 2010 12:15:14 -0700
- Subject: Re: GCC Testsuite with static libs
- References: <u2wb609cb3b1004091334sf0709782o24360f06d0730b8c@mail.gmail.com> <AANLkTik3+YQk5YGgJNnW_di9ZiVp0xAqTG3ZUejP9ZLF@mail.gmail.com>
NightStrike wrote:
On Fri, Apr 9, 2010 at 4:34 PM, NightStrike <nightstrike@gmail.com> wrote:
I'm having a bear of a time running the testsuite with shared
libraries for mingw-w64. So to sidestep that for now so that I can at
least get a run completed, I want to compile all statically. How do I
do that? I'm assuming I have to pass something into RUNTESTFLAGS, but
I Don't know what. The one giving me the most trouble is g++, if it
matters.
I never got any replies on this. Does anyone know?
You can specify the options in the target configuration file:
# Linker options
set_board_info ldflags "-static"
Alternately, you can pass in options with runtest's
--tool_opts option:
make RUNTESTFLAGS="--tool_opts '-static'" check
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077