cc -s -m64 


# For OmniOS (and derivatives) libsocket is required to be added:

cc -s -m64 -lsocket
