[Vm-dev] PR portability

stes stes at telenet.be
Thu Apr 30 06:55:49 UTC 2020


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


Yes, I can see that now on the Cog branch there is:

 platforms/unix/config/ax_compiler_vendor.m4
 platforms/unix/config/ax_prepend_flag.m4

and best of all:

 ax_cflags_warn_all.m4

has now the GNU version of 2018:

   Copyright (c) 2008 Guido U. Draheim <guidod at gmx.de>
   Copyright (c) 2010 Rhys Ulerich <rhys.ulerich at gmail.com>
   Copyright (c) 2018 John Zaitseff <J.Zaitseff at zap.org.au>

so the old 2010 code is replaced by the 2018 version.

That's good news.

I'll give it a try ...

Basically this seems a good idea to update the m4 files;
I've tested myself whether "make configure" works (and it did for me,
on some systems with a recent autoconf/autotools).

In any case hopefully this doesn't create new problems,
as the "configure" script applies to all UNIX/Linux systems ...

In any case, the old 2010  ax_cflags_warn_all.m4  file was a disaster for
the SunPRO C compiler, as it was using *incorrect* detection and wrong
flags,
so everything was broken unless manually overridden.

Thanks,

David Stes

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

iQEcBAEBCAAGBQJeqnY6AAoJEAwpOKXMq1MarToIAKPDdWFH9Y3vt2l1Mo6NzytM
EfagGLr/+9uFDojMl2VVdSwAS0XQNAsmLGknwoUhQ1j2u3/HAcL1uLH7ZcsRkQJw
JnOOMd9p8+yT+Fwfxgd4wnjjsJQA6S74W6n5AbJ7/ZSf5T2dOgtZPa1hOzNhFO8N
IRc+XGERQYFi6fNq2MW+6muoAWKd2HToOsMK1piyNA7D3m83JwwdgKT8e4Qt4v5g
xhRwNavt4GPahMjXQWcGbWAyIIrfyd3ybu9n0vLICwAAniEdgmhrXl5YrkGY1frN
tkqyVftzRQyJNCn0ihfB5kLNTFe26Qy9pR34FuA5cOUcvdQJhdEBfuXNXwaRgS4=
=9ifz
-----END PGP SIGNATURE-----




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


More information about the Vm-dev mailing list