I am examining gcc with an example that uses the -L option this seems to point to a directory where I see .so and .a files.

Can anyone explain the meaning of these two file types (it doesn't seem to google well)?

closed as off-topic by Steve Robillard May 12 '15 at 18:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – Steve Robillard
If this question can be reworded to fit the rules in the help center, please edit the question.


This question is a Unix question, not a Raspberry Pi specific question. The answer you are looking for is here: https://unix.stackexchange.com/questions/13192/what-is-the-difference-between-a-and-so-file. You could have found this easily if you would have googled (3rd hit on the search "what are .so files in linux")

  • Thanks, Phil I found something in google and saying ARM which made me think it was RaspPi specific but not according to your link. Cheers – user30803 May 12 '15 at 18:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.