On 2025-08-28 20:42, Luiz Henrique de Figueiredo wrote:
> We are considering removing the targets below from the Lua Makefile:
> aix bsd freebsd mingw solaris
>
> The motivation is that we have no access to these platforms and so no
> way to test these targets and their recipes.
>
> Does anyone use those targets?
> All feedback welcome.
> --lhf
>
--
[As well as a lua-l list reply, this message is being cross-posted
to the Tecgraf "iup-users" mailing list.]
--
The Tecgraf IM/CD/IUP projects strive to be portable, and especially
strives to use an all-singing, all-dancing platform tailoring file
*/src/tecmake.mak. For example, in IUP:
https://sourceforge.net/p/iup/iup/HEAD/tree/trunk/iup/tecmake.mak
We see:
# Known Platforms
UNAMES = Linux24 Linux24g3 Linux24g3_64 Linux26 Linux26_64 Linux26g4
Linux26g4_64 Linux26_ia64 FreeBSD54 SunOS57 SunOS58 SunOS510 SunOS510_x86 AIX43
IRIX65 IRIX6465
# [...]
ifneq ($(findstring AIX, $(TEC_UNAME)), ) [...]
endif
-------
There's more platform-specific stuff, in tec_uname. I rewrote
Tecgraf's version for lglicua:
https://sourceforge.net/p/lglicua/code/ci/master/tree/build/support/tec_uname
Here's a terse extract of some of the things it's looking at:
ComputeTecUname() {
# Base Definitions
TEC_SYSNAME=`uname -s`
TEC_SYSVERSION=`uname -r|cut -f1 -d.`
TEC_SYSMINOR=`uname -r|cut -f2 -d.`
TEC_SYSARCH=`uname -m`
# Fixes
case "$TEC_SYSNAME" in
SunOS | IRIX )
TEC_SYSARCH=`uname -p`
;;
AIX ) [...]
Darwin )
TEC_SYSNAME=MacOS
TEC_SYSVERSION=`sw_vers -productVersion|cut -f1 -d.`
TEC_SYSMINOR=`sw_vers -productVersion|cut -f2 -d.`
TEC_SYSARCH=`uname -p`
UNAME_SFX="$TEC_SYSARCH"
;;
FreeBSD ) [...]
GNU/kFreeBSD ) [...]
SunOS ) [...]
esac
}
--------
There may be interest in maintaining portability amongst the wider
set of users who use Lua alongside Tecgraf's toolkits.
cheers, s-b etc
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users