Re: [patch] Fix PR bootstrap/54820

2012-10-11 Thread Eric Botcazou
> 2012-10-09 Eric Botcazou > PR bootstrap/54820 > * Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable. > (host_modules): Add STAGE1_FLAGS_TO_PASS to args. > * Makefile.in: Regenerate. > * configure.ac (have_static_libs): New variable and associated check. >

[patch] Fix PR bootstrap/54820

2012-10-09 Thread Eric Botcazou
Hi, native compilers are now built with -static-libstdc++ -static-libgcc (if bootstrapped) because the switches are added to LDFLAGS during stage 2 and 3. Nothing is done for stage 1 or cross-compilers, except for Ada where we force the switches, but this is far from ideal as reported under the