This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: don't test for data_start on cross builds.
- To: green at cygnus dot com
- Subject: Re: Patch: don't test for data_start on cross builds.
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 23 May 2001 23:50:32 -0300
- Cc: java-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105240136.SAA31096@fencer.cygnus.com>
On May 23, 2001, Anthony Green <green@redhat.com> wrote:
> +if test "$NATIVE" = yes; then
> + AC_MSG_CHECKING([for data_start])
> + AC_TRY_LINK([extern int data_start;], [return ((int) &data_start);],
> + [AC_MSG_RESULT(found it)],
> + [LIBDATASTARTSPEC="-u data_start libgcjdata.a%s"
> + NEEDS_DATA_START=yes
> + AC_MSG_RESULT(missing)])
> +fi
Make sure you set it to no if the test fails or if it isn't done,
otherwise you might accidentally get something from the user's
environment.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me