java/5688: cross compiler build fails in libjava

Tom Tromey tromey@redhat.com
Tue Jun 4 12:51:00 GMT 2002


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:

>> +     case $target in
>> +     *-linux*)
>> +       AC_DEFINE(HAVE_PROC_SELF_EXE)
>> +       ;;
>> +     esac

Alexandre> One more nit: I wonder if, in the `else' branch, if $target
Alexandre> doesn't match, we should assume HAVE_PROC_SELF_EXE is not
Alexandre> present, or bail out asking the user to let us know by
Alexandre> setting some environment variable.

I think assuming HAVE_PROC_SELF_EXE is not present is fine.  We can
always refine this code as people do more host-x-host builds.  My
impression from what I've seen on the list is that the most important
"host targets" are Linux and Windows.

Tom



More information about the Gcc-bugs mailing list