Re: Developing application for linux

From: Grant Edwards (grante_at_visi.com)
Date: 01/19/05

  • Next message: linnix: "Re: Throughput question with CF/DiskOnChip"
    Date: 19 Jan 2005 17:00:29 GMT
    
    

    On 2005-01-19, Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote:
    > Grant Edwards <grante@visi.com> writes:
    >
    >> > - OR it is some form of an object file such that the kernel is
    >> > configured to run after booting.
    >>
    >> Yes.
    >
    > No.
    >
    > You build an ELF executable (not an object file).

    ELF executables are object files.

    > The kernel knows absolutely nothing about your executable. You
    > simply run that exe just like you would run 'date' or 'ls'.

    That depends on its name. If you name it 'init', then the
    kernel _does_ know about it.

    > True, you can make starting that executable be a part of an 'rc'
    > script, which is started by the 'init' process, which is started
    > by the kernel. But it's a long way from "kernel is configured to
    > run after booting".

    Really? I thought there was a way to tell the kernel what
    program to run if you wanted to run someting other than
    /sbin/init.

    -- 
    Grant Edwards                   grante             Yow!  Yow! STYROFOAM...
                                      at               
                                   visi.com            
    

  • Next message: linnix: "Re: Throughput question with CF/DiskOnChip"

    Relevant Pages

    • Re: Kbuild Makefile output
      ... Now I have created single makefile to compile all this ... But now the problem is lots of file included in kernel ... Previously in 2.4 we use to put all output object file ...
      (Linux-Kernel)
    • Re: [RFC] [PATCH] Fix b43 driver build for arm
      ... /* Explicit padding to support a broken sanity check in file2alias.c. ... object file to the userspace the kernel is compiled on. ...
      (Linux-Kernel)
    • Re: Kbuild Makefile output
      ... I want to collect all my object file in ... This is my makefile in 'dir'. ... Kernel Makefile for the same. ... Now I have created single makefile to compile all this ...
      (Linux-Kernel)
    • linux object file containing all kernel symbols and suitable for userspace linking?
      ... Is there an object file generated by the kernel build process just ... userspace by linking it to a *.o file with a mainfunction (just to ... test out various API facilities; ...
      (Linux-Kernel)
    • Re: [RFC] [PATCH] Fix b43 driver build for arm
      ... /* Explicit padding to support a broken sanity check in file2alias.c. ... object file to the userspace the kernel is compiled on. ... Align the members of the SSB device structure to a 32 bit boundary so ...
      (Linux-Kernel)