This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: Avoid $(shell) in determining default ARM ABI


On Wed, 21 Nov 2012, Roland McGrath wrote:

> > --- a/ports/sysdeps/arm/configure.in
> > +++ b/ports/sysdeps/arm/configure.in
> > @@ -40,4 +40,7 @@ AC_CACHE_CHECK([whether the compiler is using the ARM hard-float ABI],
> >    ], libc_cv_arm_pcs_vfp=yes, libc_cv_arm_pcs_vfp=no)])
> >  if test $libc_cv_arm_pcs_vfp = yes; then
> >    AC_DEFINE(HAVE_ARM_PCS_VFP)
> > +  echo "default-abi := hard" > default-abi.make
> > +else
> > +  echo "default-abi := soft" > default-abi.make
> 
> That's not right.  You need to use autoconf machinery for this so that

It's essentially the same as used for MIPS.

> ./config.status will recreate the file.  But actually you can just append

In any case where the contents might change, a full reconfiguration in a 
clean build directory is required anyway (it's essentially the same as 
configuring for a different target).

-- 
Joseph S. Myers
joseph@codesourcery.com


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