libgcrypt 1.10.2 compile on AIX POWER

2023-10-16 Thread Frank Lindner
Hello, it's been a while and I just tried to compile a new version of GnuPG and needed libraries. I am having troubles with libgcrypt 1.10.2. /opt/freeware/bin/bash ../libtool --tag=CC --mode=compile xlclang++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/freeware/include -qmaxmem=16384 -D

Re: libgcrypt 1.10.2 compile on AIX POWER

2023-10-16 Thread Frank Lindner
It seems I found my mistake. By accident the compiler was set to xlclang++, which is not the correct one I suppose. Changing this back to cc/xlC did throw the well know issue of 'keyword inline unknown'. And for that I think I found a solution for AIX. Adding the -qlanglvl=extc99 compile option t

Re: libgcrypt 1.10.2 compile on AIX POWER

2023-10-18 Thread Werner Koch via Gnupg-users
On Mon, 16 Oct 2023 15:25, Frank Lindner said: > Changing this back to cc/xlC did throw the well know issue of 'keyword > inline unknown'. I am not aware of that problem. We are Libgcrypt and the entire GnuPG suite on AIX for decades. The configure script should detect whether inline is support

Re: libgcrypt 1.10.2 compile on AIX POWER

2023-11-08 Thread NIIBE Yutaka
Hello, Frank Lindner wrote: > For 1.10.2 I now run into the following: >> start ---< > /opt/freeware/bin/bash ../libtool --tag=CC --mode=link cc > -I/opt/freeware/include -qmaxmem=16384 -qlanglvl=extc99 -DSYSV > -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AI