HOSTTYPE is a bash variable not an environment variable and needs to be exported before or set when executing make in order to access it in Makefile. I just switched to: HOSTTYPE := $(shell arch) BITS := $(shell getconf LONG_BIT) Using LFS/gentoo multilib FHS defaults to $PREFIX/lib64 as the main 64-bit library install directory. I changed irrTypes.h now to use the C includes as you proposed and use INT32_MAX for both drivers since GLsizei is always int32_t fixing MaximalPrimitiveCount in H-Craft...
HOSTTYPE is a bash variable not an environment variable and needs to be exported before or set when executing make in order to access it in Makefile. I just switched to: HOSTTYPE := $(shell arch) BITS := $(shell getconf LONG_BIT) Using LFS/gentoo multilib FHS defaults to $PREFIX/lib64 as the main 64-bit library install directory. I changed irrTypes.h now to use the C includes as you proposed and use INT32_MAX for both drivers since GLsizei is always int32_t fixing MaximalPrimitiveCount in H-Craft...
I changed irrTypes.h now to use the C includes as you proposed and use INT32_MAX for both drivers since GLsizei is always int32_t. Using LFS/gentoo multilib FHS defaults to $PREFIX/lib64 as the main 64-bit library install directory. HOSTTYPE is a bash variable not an environment variable and needs to be exported before or set when executing make. I just switched to $(shell arch) and $(shell getconf LONG_BIT) if no HOSTTYPE is set or exported.
I changed irrTypes.h now to use the C includes as you proposed and use INT32_MAX for both drivers since GLsizei is always int32_t. Using LFS/gentoo multilib FHS defaults to $PREFIX/lib64 as the main 64-bit library install directory. HOSTTYPE is a bash variable not an environment variable and needs to be exported before or set when executing make. I just switched to uname -m if no HOSTTYPE is set or exported.
Using LFS/gentoo multilib FHS defaults to $PREFIX/lib64 as the main 64-bit library install directory. After checking the conditional syntax using ifneq ($(findstring x86_64, $(HOSTTYPE),) LIBSELECT=64 endif results in the correct LIBSELECT output based on condition evaluating to true if $(findstring) result is not empty. I changed irrTypes.h now to use the C includes as you proposed and use INT32_MAX for both drivers since GLsizei is always int32_t.
Using LFS/gentoo multilib FHS defaults to $PREFIX/lib64 as the main 64-bit library install directory. After checking the conditional syntax using ifneq ($(findstring x86_64, $(HOSTTYPE),) LIBSELECT=64 endif results in the correct LIBSELECT output I changed irrTypes.h now to use the C includes as you proposed and use INT32_MAX for both drivers since GLsizei is always int32_t.
fix maximal primitive count and INSTALL_DIR for 64 bit platforms
Depends on patches at https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-wm/sithwm/files previously applied. Additions and fixes included: warnings for gnu2x exit and restart atoms and map exit to META+F4 xwmpid script at https://unix.stackexchange.com/questions/181196/how-do-i-exit-the-window-manager-on-the-current-x-display sendcmessage and sendconfig used in http://github.com/9wm/9wm