This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: java/5688: cross compiler build fails in libjava


>>>>> "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


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