[Vm-dev] PR portability

stes stes at telenet.be
Mon Apr 13 17:31:04 UTC 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


It would help portability if the M4 macros of the configure script would be
updated.  For example in my case I could conveniently switch between SunPro
cc
and GNU cc (gcc) by running configure, and it would then autodetect the warn
all flag.

I can currently compile on Solaris using either SunPro or gcc, but
the autodetection in 

   ./platforms/unix/config/ax_cflags_warn_all.m4

is not working.

The opensmalltalk config directory could be updated like this:

in 

    ./platforms/unix/config/acinclude.m4

add:

m4_include([ax_prepend_flag.m4])
m4_include([ax_require_defined.m4])
m4_include([ax_compiler_vendor.m4])
m4_include([ax_cflags_warn_all.m4])

This could be done perhaps by copying from the latest autoconf-archive:

  ax_prepend_flag.m4 ax_require_defined.m4 ax_compiler_vendor.m4
ax_cflags_warn_all.m4

into the opensmalltalk config directory and then running the Makefile ...

This change will benefit all platforms.

Regards,
David Stes


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJelKFvAAoJEAwpOKXMq1MayrUIAIdyHtvsoR1zxt0RY8CkjA/h
Uf8BHi0X5CxCqjtvAeXezY8SgAkkAA4MlurAdBdAsqHonqVa/As4HAXtcMEamqPf
vFOmjsasr34NN//TcL8ji2LhFawLr/4Jn1808YWDKd8xsp2no+SZfhu9MeutOTrv
zuSbmWYDGPOorO5yPvUykQZ30+67mXuWuf6eW70cVTW3COP8lF6J+01jLVXLgnQY
pAkc3yEH17f1o4e4LRzi0kcHcOe8PLVnb4GBNJCyQuIMAJ2MJNbHD9Oqi+Foeqm0
KYP6aZ74Sie4fcllr0RHQNiU0RYIYhS6T2LmwuHd0B7e70HV0Wp2Uge6N5V2dik=
=3bFy
-----END PGP SIGNATURE-----




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html


More information about the Vm-dev mailing list