public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: <SMore@empirecorp.org>
To: <gcc-help@gcc.gnu.org>
Subject: configure: error can not run test programs while cross compiling
Date: Tue, 18 Jun 2002 08:14:00 -0000	[thread overview]
Message-ID: <6A0F951DBB1DD611A90600805F9F5455CA137A@mail.empirecorp.org> (raw)

Platform Solaris 2.8 x86

I compiled gcc 3.0.3 with CONFIG_SHELL=/bin/ksh --with-gnu-as --with-gnu-ld
--target=i386-pc-solaris2.8

After it was done, I was able to configure and compile perl 5.6.1 without
any problem.

Now I am trying to configure mysql 3.23.45 but keep getting "checking for
return type of sprintf... configure: error can not run test programs while
cross compiling".
According to http://www.mysql.com/doc/S/o/Solaris.html :
If you get the following error from configure: 
checking for restartable system calls... configure: error can not run test
programs while cross compiling
This means that you have something wrong with your compiler installation!

Is there something wrong with the installation of my compiler ? How can I
fix it ?
 I would like to configure mysql 3.23.45 without a problem.

-Thanks
Stephen More


                 reply	other threads:[~2002-06-18 15:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6A0F951DBB1DD611A90600805F9F5455CA137A@mail.empirecorp.org \
    --to=smore@empirecorp.org \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).