Creating archive file with main

Ajay Jain ajay050@gmail.com
Mon May 23 14:00:00 GMT 2011


Hi Experts,

Sorry for asking an absurd question.

1) I have a framework which includes a main and multiple 'c' files. I
need to export this framework to other sub-modules. Could I make an
archive (.a) which includes the main?

2) If not, is there any other alternative I have? Actually the
framework's output is multiple .o files and I need to export this to
various other sub-modules.

Thanks in Advance.



More information about the Binutils mailing list