* Error when building c++ : libstdc++-v3: No support for this host/target combination.
@ 2020-05-14 18:15 William Tambe
2020-05-14 20:54 ` Jim Wilson
0 siblings, 1 reply; 2+ messages in thread
From: William Tambe @ 2020-05-14 18:15 UTC (permalink / raw)
To: gcc-help
We are porting GCC releases/gcc-10.1.0.
The following error is seen when building c++ .
configure: error: No support for this host/target combination.
make[1]: *** [Makefile:12511: configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/gcc-build'
make: *** [Makefile:962: all] Error 2
We edited libgcc/config.host to add support for our port; we are
thinking there is a similar config file that needs to be edited to add
support for our port in libstdc++ .
Any idea which file need to be edited to support our port when
libstdc++ is being built ?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error when building c++ : libstdc++-v3: No support for this host/target combination.
2020-05-14 18:15 Error when building c++ : libstdc++-v3: No support for this host/target combination William Tambe
@ 2020-05-14 20:54 ` Jim Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2020-05-14 20:54 UTC (permalink / raw)
To: William Tambe; +Cc: gcc-help
On Thu, May 14, 2020 at 11:15 AM William Tambe via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
> The following error is seen when building c++ .
> configure: error: No support for this host/target combination.
>
> Any idea which file need to be edited to support our port when
> libstdc++ is being built ?
A simple grep command "grep 'host/target' *" would point you at the
crossconfig.m4 file in libstdc++. Also note that this defines
GLIBCXX_CROSSCONFIG which is called from configure.ac, and there is a
with_newlib check there. So either you are using newlib and provided
--with-newlib, or you need explicit support in the crossconfig.m4
file.
Jim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-14 20:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 18:15 Error when building c++ : libstdc++-v3: No support for this host/target combination William Tambe
2020-05-14 20:54 ` Jim Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).