Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7978887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:36:54+00:00 2026-06-04T09:36:54+00:00

I am trying to cross-compile a Linux kernel for an ARM-target ( Freescale i.Mx28

  • 0

I am trying to cross-compile a Linux kernel for an ARM-target (Freescale i.Mx28) on a Windows host. I know that this approach is not the best one compared to using a Linux host, but unfortunately it’s not up to me to decide that.

The restrictions are:

  • The kernel has to be the one provided by Freescale (L2.6.35_MX28_SDK_10.12)
  • It must be build using Sourcery Toolchain and CodeBench
  • The whole thing must be done on Windows

I got that far, that I worked around the missing case sensitivity on Windows so that I can extract the kernel sources using Cygwin. But now I got problems with the kernel Makefile. I think there are some issues with the Windows paths as I get the error message *** multiple target patterns. Stop., which comes from the : in paths and other errors concerning the dependency check when configuring:

      HOSTCC  scripts/basic/fixdep
    /usr/bin/sh: scripts/basic/fixdep: cannot execute binary file
    make[1]: *** [scripts/basic/fixdep] Error 126
    make: *** [scripts_basic] Error 2

Is there a way to port the Makefile without having to rewrite it or is there another way to build the kernel without using the given Makefile? Can I use the sourcery toolchain or IDE to handle the Makefile?
Is there a way to build the kernel within the given restrictions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:36:55+00:00Added an answer on June 4, 2026 at 9:36 am

    To cross compile the kernel, you’ll need two compilers: One that is able to build tools that run in your build environment, and one that can create executables for your target.

    It seems like you aren’t really cross compiling but you have just replaced your compiler. You are now building tools required for the build for ARM and try to run them on Windows.

    You can specify which cross compiler to use:

    make ARCH=arm CROSS_COMPILE=your-compiler-prefix- ...
    

    You might also have a problem with the filesystem. The filesystem in Windows is case-insensitive and the Kernel build might create files where the case matters. To get support for a case-insensitive filesystem on Windows, you can have a look at Windows Services for UNIX.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to cross compile a helloworld kernel module with specifications: host: intel x86
I am trying to configure util-linux to cross compile using arm-none-linux-gnueabi from CodeSourcery. My
I'm trying to build a GCC cross-compiler with --host=x86_64-apple-darwin10 and --target=ppc64-linux . I need
I'm trying to cross compile php for arm and have good progress but I'm
I am trying to cross-compile a very simple program for Android that worked with
I'm trying to cross-compile a 64-bit executable on a 32-bit ubuntu system. This works
I am trying to cross-compile climm-0.6.4 to windows under Ubuntu with the following command:
I'm trying to cross compile bzip2 in Linux utilizing CMake's ExternalProject_Add(...) command. However, in
Background : Trying to setup a cross compiler environment for arm target (TQ2440/Mini2440) On
I am trying to cross-compile GCC on Mac OS 10.5.7. I used this command

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.