Compiling g2clib

From: Ben Jolly <ben.jolly_at_nyahnyahspammersnyahnyah>
Date: Sun Dec 01 2013 - 12:52:17 MST


I'm having trouble compiling g2clib as per the instructions at

I have been following the guide with no problems thus far, however it's telling me to change compiler (CC) and flag (CFLAGS) lines but not specifying what to change them to. I had a bit of a play based on hints in the makefile and ended up with:

INC=-I/usr/include /usr/local/lib
CFLAGS=-q64 -O3 -qarch=auto -qcpluscmt $(INC) $(DEFS)
CC=gcc -fPIC

Which failed miserably because -q64 was not a valid GCC flag (yes I am building on a 64-bit system). Can anyone push me in the right direction?


This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to for more

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Sun Dec 1 12:52:31 2013

This archive was generated by hypermail 2.1.8 : Thu Dec 05 2013 - 11:51:22 MST