Added a new flag "--with-gcclib" for optionally adding -lgcc to the link line.