user2593158
user2593158

Reputation: 333

How to run make from Cygwin environment?

I am trying to run linux driver on linux environment .. Following instruction to run winkvm .. stuck on point run make command using cygwin environment .. like

  1. Building original KVM drivers using Cygwin environment:

    cd kvm/kernel ## Do not type configure make ## you will get id: unrecognised emulation mode: elf_i386 but it's not error make cpobjs ## If you get not a directory message, make it and try again

How to run make command .. from which console of cygwin.. getting error bash make command not found .. from cygwin terminal

Upvotes: 33

Views: 117388

Answers (2)

Andrushenko Alexander
Andrushenko Alexander

Reputation: 1973

If you have cygwin running, terminate it. Download the setup-x86_64.exe utility from the cygwin site (https://www.cygwin.com/). Run the utility and continue by clicking "Next" until you get to the window where you can select packages. enter image description here

Type into the search panel the word "make". This works like a filter that leaves only packages related to make functionality. In category "Devel" select "make: the GNU version of 'make' utility". That is.

Upvotes: 22

Keith Thompson
Keith Thompson

Reputation: 263617

You have to install the make command.

Run the Cygwin installation/configuration program, setup-x86_64.exe or setup-x86.exe (you should already have it, downloaded from here). When you get to the screen that lets you select packages to install, find make and select it (it's probably under "Development" or something similar).

Then you'll be able to run make from the Cygwin bash command line.

Upvotes: 65

Related Questions