Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run make from Cygwin environment?

Tags:

cygwin

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

like image 452
user2593158 Avatar asked Jul 17 '13 21:07

user2593158


People also ask

How do I run a Makefile in Cygwin?

You don't give make the makefile as an argument like that. cd to that directory and run make . Or if that makefile is intended to be used from other directories as well then you can try make -f /cygdrive/d/IoT/trunk/Macchina/TestBed/Makefile .

Where is make in Cygwin?

You can install it from the Cygwin setup.exe install program. When you get to the "Select Packages" screen, expand the "Devel" section, find the make package, and select the version you want by clicking the weird circle/arrow thing on that line until your desired version is shown.

How do I change environment variables in Cygwin?

From the Start menu, select Parameters > Control Panel > System. Select the Advanced tab and click Environment variables. Edit the PATH environment variable to add the Cygwin installation directory, for example c:\cygwin\bin; and click OK.


1 Answers

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.

like image 166
Keith Thompson Avatar answered Sep 22 '22 18:09

Keith Thompson