Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-06

Why PIC as default for darwin?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

CA Gorski

What is the reason for having PIC enabled for darwin? I have read that it slows down and is only useful for libs, if at all.

Reply by email

Jonas Maebe
to CA Gorski
CA Gorski wrote
What is the reason for having PIC enabled for darwin?

It's also the default for GCC on Darwin.

I have read that it slows down and is only useful for libs, if at all.

It is in fact required for dynamic libraries on Darwin.

Jonas

Reply by email