[Vm-dev] ac_cv_cflags_warn_all in unix configure script

K K Subbu kksubbu.ml at gmail.com
Fri Mar 27 10:41:02 UTC 2020


On 27/03/20 2:49 PM, stes wrote:
> It selects "-warn all" when automatic configuration is used, but the cc
> compiler later on complains because this option does not exist, it is in
> fact interpreted as a way to pass '-r' and '-n' via '-wa' to the linker.
The old trunk image used cmake. Opensmalltalk uses autoconf.

The configure script is autogenerated by Gnu Autoconf from configure.ac 
for gnu toolchain. You may need to generate one for Solaris C toolchain 
starting with autoscan to generate a configure.ac and then using 
autoconf to get configure.

  https://en.wikipedia.org/wiki/Configure_script

> As a solution or workaround if you like,  what works is :  ./configure
> *ac_cv_cflags_warn_all="-pedantic"*
This eliminates many other warning flags :-(

HTH .. Subbu


More information about the Vm-dev mailing list