Find the answer to your Linux question:
Results 1 to 3 of 3
I just wanted to know if a kernel built and compiled on one hardware, will the same kernel work on a different machine with totally different hardware? Nik...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370

    kernel building issue.


    I just wanted to know if a kernel built and compiled on one hardware, will the same kernel work on a different machine with totally different hardware?

    Nik
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Only if it was compiled with support for the hardware that the other machine has. This has to be built in, or the kernel modules must be copied to the other machine (in /lib/modules/) for that to work.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Posts
    5
    You can compile kernel that can be used on totally different hardware you need to

    >> cross compiler (specific to hard ware you are using )
    >>> choose you procerssor correctly.

    >>>>configure your hard ware correctly

    cheers

    naveen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •