gcc uses collect2, not ld, to link things. Therefore, when using gcc