2008-12-30 08:17:15     Creating Library File in Kernel?

2008-12-30 08:17:15     Creating Library File in Kernel?

Appalayagari Sreedhar (INDIA)

Message: 67206   

Hi,

Is it possible to create a Library File in Kernel like what we can create the .a file in user space.

Best Regards, Sreedhar.

QuoteReplyEditDelete

2008-12-30 08:29:53     Re: Creating Library File in Kernel?

Mike Frysinger (UNITED STATES)

Message: 67207   

a "static library" is simply an archive (.a) -- a collection of objects.  the kernel build system does not use archives itself, but there is no inherent limitation that prevents people from using them.

that said, the kbuild system is pretty powerful and really shouldnt need to use the archive format ...

QuoteReplyEditDelete

2008-12-30 09:30:22     Re: Creating Library File in Kernel?

Appalayagari Sreedhar (INDIA)

Message: 67209   

Hi Mike,

I understood from your response that it is possible to do the archiving of object files into .a files.

I want to make some of the developed c files into .a files

Can you tell me the procedure how to do the archiving of kernel files and linking them.

-Sreedhar.

QuoteReplyEditDelete

2008-12-30 10:28:58     Re: Creating Library File in Kernel?

Robin Getz (UNITED STATES)

Message: 67212   

Sreedhar:

Anything you can do on a desktop - you can do on a Blackfin. We don't have the time to teach you Linux (sorry).

I think you need to review the avalible options (books, websites, forums, etc) for that - have a look at:

http://docs.blackfin.uclinux.org/doku.php?id=references_and_pointers

QuoteReplyEditDelete

2008-12-31 01:37:13     Re: Creating Library File in Kernel?

Appalayagari Sreedhar (INDIA)

Message: 67228   

Hi Robin,

Thankyou, I will try with the reference suggested.

Advance New Year Wishes to you and your team.

-Sreedhar

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.