[Vm-dev] PR portability
Tobias Pape
Das.Linux at gmx.de
Wed Apr 29 23:56:10 UTC 2020
Hi David
> On 13.04.2020, at 19:31, stes <stes at telenet.be> wrote:
>
>
>
> -----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 ...
I updated a bunch, care to see if it helps? :)
Best regards
-Tobias
>
> 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-----
More information about the Vm-dev
mailing list