From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Evans To: egcs@cygnus.com Subject: Re: bootstrapping problems with native compiler Date: Mon, 18 Aug 1997 23:07:08 -0000 Message-id: <199708182307.QAA24612@lisa.cygnus.com.> In-reply-to: bootstrapping problems with native compiler X-SW-Source: 1997-08/0115.html Date: Mon, 18 Aug 1997 18:48:07 -0400 (EDT) From: meissner@cygnus.com | Actually it wants to link and run too. Its configuration needs to | check for non-ANSI sprintf (at least) and I don't know a way to do | that reliably other than with AC_TRY_RUN. It certainly needs to be | able to do linking in configure to test for various library routines. Sounds like it won't work too well on Canadian Crosses where build, host, and target machines are all different. For example at Cygnus, we build NT cross compilers under random Unixes (for example, --host=i586-cygwin32, --build=sparc-solaris2.5, --target=powerpc-eabi). | The released G77 is known basically to survive criss-cross builds. | (The sprintf test makes a pessimistic assumption if necessary.) I've | probably omitted to document that that might be worth editing in most | cases of crosses. Clearly using AC_TRY_RUN doesn't work too well for Canadian Cross builds, but methinks Dave is saying an attempt has been made to handle them [by choosing a default that works at least for the cases tried].