This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix broken $(db_name) target in Makefile.am


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/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]