Compiling the Linux kernel on Windows

Hi,

I was just wondering if anybody in the group has been able to compile the Linux kernel using the Sourcery G++ Lite toolchain on a Windows machine.
At the first attempt I encountered an error saying " ‘uname’ : unrecognized command", to overcome this issue I installed Cygwin, but now I am still unable to compile, now I see a error saying ‘Makefile:1045: Multiple Target Patterns. Stop’.

I am pretty comfortable with Linux environment but not a makefile expert. However I did spend some time trying to understand the error. It seems that the ‘make’ utility does not like extra ‘:’ which might get introduced when you are using windows paths (like D:/BeagleBoard/xyz). I am currently using GNU make 3.81.

Is anybody aware of other Windows Make utility which can address this issue, i.e. ignore the ‘:’ in the Windows Path?

Any help is highly appreciated.

Ashwin Athani wrote:

Hi,

I was just wondering if anybody in the group has been able to compile the
Linux kernel using the Sourcery G++ Lite toolchain on a Windows machine.

Installing Linux is much easier.

Ashwin Athani wrote:

Hi,

I was just wondering if anybody in the group has been able to compile the Linux kernel using the Sourcery G++ Lite toolchain on a Windows machine.

Maybe FAQs 29 & 30 & 31 can help:

http://elinux.org/BeagleBoardFAQ

Dirk

Måns Rullgård said the following on 12/17/2008 05:50 AM:

Ashwin Athani wrote:
  

Hi,

I was just wondering if anybody in the group has been able to compile the
Linux kernel using the Sourcery G++ Lite toolchain on a Windows machine.
    
Installing Linux is much easier.

vmware running ubuntu over windows is also an option -> I think this was
discussed in this very mailing list[1],[2] (Google is pretty good at
searching it's own mail archives :wink: ) etc..
Regards,
Nishanth Menon

[1]
http://groups.google.com/group/beagleboard/browse_thread/thread/10b69addfb5c0963/73e7f67332044219?lnk=gst&q=kernel+on+windows#73e7f67332044219
[2]
http://groups.google.com/group/beagleboard/search?group=beagleboard&q=kernel+on+windows&qt_g=Search+this+group

Nishanth Menon said the following on 12/17/2008 05:58 AM:

Måns Rullgård said the following on 12/17/2008 05:50 AM:
  

Ashwin Athani wrote:
  

Hi,

I was just wondering if anybody in the group has been able to compile the
Linux kernel using the Sourcery G++ Lite toolchain on a Windows machine.
    

Installing Linux is much easier.

vmware running ubuntu over windows is also an option -> I think this was
discussed in this very mailing list[1],[2] (Google is pretty good at
searching it's own mail archives :wink: ) etc..
Regards,
Nishanth Menon

[1]
http://groups.google.com/group/beagleboard/browse_thread/thread/10b69addfb5c0963/73e7f67332044219?lnk=gst&q=kernel+on+windows#73e7f67332044219
[2]
http://groups.google.com/group/beagleboard/search?group=beagleboard&q=kernel+on+windows&qt_g=Search+this+group
  

apologies on the spam, but then google is a pretty neat too: [1]
[2](this has the same pointers you need Ashwin):
Regards,
Nishanth Menon
Ref:
[1]
http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS272&=&q=compiling+linux+kernel+on+windows&btnG=Google+Search&aq=0
[2] http://kerneltrap.org/node/2331

[1]
http://groups.google.com/group/beagleboard/browse_thread/thread/10b69addfb5c0963/73e7f67332044219?lnk=gst&q=kernel+on+windows#73e7f67332044219
[2]
http://groups.google.com/group/beagleboard/search?group=beagleboard&q=kernel+on+windows&qt_g=Search+this+group

apologies on the spam, but then google is a pretty neat too: [1]
[2](this has the same pointers you need Ashwin):
Regards,
Nishanth Menon

Thanks Nishanth for the links, I seem to have had a look at them already. A similar problem was reported but I don’t think it was reported to be resolved. It certainly seems like I need to explore the option of installing linux on my machine. But having spent some time on this I really want to resolve this issue and see the kernel compiling on a Windows machine.

Warm regards
Ashwin