Building gpg on AIX: the solution

Jos Backus Jos.Backus at nl.origin-it.com
Wed Dec 8 17:48:20 CET 1999


Painfully simple, actually: on the GMP homepage

	http://www.swox.com/gmp/

the following can be found:

	A change to GCC (from version 2.8) makes GMP fail to build on IBM
	RS/6000 computers running AIX.  You'll see complaints of unrecognized
	assembly instructions. Pass CFLAGS="-g -O2 -mcpu=power" or CFLAGS="-g
	-O2 -mcpu=powerpc" to `make' to work around this. (Choose the form
	that is appropriate for your system; if you're unsure which processor
	type you have, try running config.guess from the GMP top level
	directory.) 

So I did

	CFLAGS="-g -O2 -mcpu=powerpc" ./configure

and after a few tweaks gpg finally got built. Yay :)

-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
Jos.Backus at nl.origin-it.com  _/_/  _/_/_/      use Std::Disclaimer;



More information about the Gnupg-devel mailing list