Re: Launching Cygwin through VC++
- From: "Ben Voigt" <rbv@xxxxxxxxxxxxx>
- Date: Thu, 4 Jan 2007 13:21:20 -0600
"newbee" <c.sunita@xxxxxxxxx> wrote in message
news:1167848046.909878.253270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks a lot. That worked perfectly!!
You're quite welcome.
Ben Voigt wrote:
That probably won't work as desired; your cygwin environment won't be set
properly.
Try instead to run the command line:
bash --login -c "cd whateverdirectory && make"
"Venkatesh" <lbvenkatesh@xxxxxxxxx> wrote in message
news:1167392858.838168.218390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
cygwin is a collection of executables and make(or gmake) is one of
them; Use either exe launcher APIs to lauch <cygwin-dir>/bin/make.exe
with the makefile as cmd line arg.
-
Venkatesh
Jim Langston wrote:
"newbee" <c.sunita@xxxxxxxxx> wrote in message
news:1167269292.514070.136130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I need to launch a makefile in Cygwin from a VC++ program.
How do I do that?
I can launch just Cygwin using ShellExecute() or CreateProcess(),
but I
can't figure out how to pass the makefile to Cygwin once it
launches.
Thanks
Does cygwin allow a parameter for a command to run? If so, pass it
in.
Otherwise look at cygwin. Maybe you can change the login script to
run
the
makefile.
.
- References:
- Re: Launching Cygwin through VC++
- From: newbee
- Re: Launching Cygwin through VC++
- Prev by Date: Re: Help on compiling K.Wilder's random number generator with Visio C++ .Net
- Next by Date: regular DLLs in Visual Studio 2005
- Previous by thread: Re: Launching Cygwin through VC++
- Next by thread: Message Box with scroll bars...
- Index(es):
Relevant Pages
|