use -mfpmath=387 for mac