Is -static a link-only switch?

Andrew Pinski pinskia@physics.uc.edu
Thu May 12 16:01:00 GMT 2005


On May 12, 2005, at 11:43 AM, Daniel Jacobowitz wrote:
> I don't know of any; it was a close call on one RTOS I worked on
> recently, but it turned out that nothing else was necessary.  This sort
> of applies to MIPS but that gets a separate option (-fno-pic
> -mno-abicalls).

-static on Darwin has an effect but basically -fno-pic.

Thanks,
Andrew Pinski



More information about the Gcc mailing list