This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Fix broken $(db_name) target in Makefile.am
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: tromey at redhat dot com
- Cc: java-patches at gcc dot gnu dot org
- Date: Tue, 22 Mar 2005 13:23:31 -0600
- Subject: Re: [PATCH] Fix broken $(db_name) target in Makefile.am
- Reply-to: gnustuff at thisiscool dot com
Hi Tom,
>Mohan> The following patch is the minimum needed to fix it, and
>Mohan> it is the least intrusive, but I'm not completely happy
>Mohan> with it. (What if the cross compiler builds a gcj-dbtool
>Mohan> which functions correctly on the host machine, but produces
>Mohan> a valid executable on the build machine whose behavior is
>Mohan> to reformat the hard drive or do a DOS attack on gcc.gnu.org?)
>
>'classmap.db' is only built or installed for native builds.
>The definition of dbexec_DATA is wrapped in an `if NATIVE'.
Yes, but build!=host and host=target also qualifies as a native
build, although the build machine will be very confused when we
try to run gcj-dbtool on it.
>Thanks, please check this in. I'm sorry I forgot that this was needed.
>You are right, it is also needed for the trunk.
Will do. I'll also do this in 4.1 as soon as I get the tree.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/