Code Compilation

Alexander Kapshuk alexander.kapshuk at gmail.com
Sun Feb 12 07:58:47 EST 2017


On Sun, Feb 12, 2017 at 10:49 AM, Wasim Akram <wasim7702843288 at gmail.com> wrote:
> I want to organize my code C code , such as all header file in include
> folder , all library file in lib folder , main file in src and compile
> output should be generated in /bin . I am facing problem in code
> compilation.
>
> On Sun, Feb 12, 2017 at 2:09 PM, Alexander Kapshuk
> <alexander.kapshuk at gmail.com> wrote:
>> On Sun, Feb 12, 2017 at 10:00 AM, Wasim Akram <wasim7702843288 at gmail.com> wrote:
>>> How to compile the code and get binary in bin folder , if hearder
>>> files , library files and source file is present in include,lib,src
>>> folders respectively ?
>>>
>>> --
>>
>> Can you please give us more detail?
>>
>> What binary do you want compiled and put in what bin folder? Are you
>> talking about the kernel binary? If so, 'make install' places it in
>> /boot.
>> Or are you asking about how to compile an out-of-tree kernel module?
>
>
>
> --


Please, do not top post.

You have not answered the questions I asked in my previous email.

What code are you trying to compile?
Are you working on an out-of-tree kernel driver?
Or are working on some kernel subsystem?
Or are working on something else you want to be a part of the kernel code base?



More information about the Kernelnewbies mailing list