Always use -fPIC.
Add a C interface to an AMPL solver.
Add a C interface to amplilogcp.
Add a script to extract solver options.