Use the -s option to specify the simulator for which the libraries will be compiled.
For QuestaSim, the value is "questa".
Syntax:
-s simulator
Valid simulator values:
mti_se
mti_pe
mti_de
questa
ncsim
riviera
vcs_mx
For more CompXlib usage information, please refer to (UG628) - Command Line Tools User Guide