This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] ld: Set want64 on a 64-bit host regardless of --enable-all-targets


Hi,

2012/3/23 Alan Modra <amodra@gmail.com>:
> +if test x${want64} = xfalse; then
> + ?AC_CHECK_SIZEOF(long)
> + ?if test "x${ac_cv_sizeof_long}" = "x8"; then
> + ? ?want64=true
> + ?fi

Wouldn't it be better to check here instead of "long" for "void *"?
So the change would also work for LLP64 targets.

Regards,
Kai


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