Re: Launching Cygwin through VC++
- From: "newbee" <c.sunita@xxxxxxxxx>
- Date: 3 Jan 2007 10:14:07 -0800
Thanks a lot. That worked perfectly!!
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.
.
- Follow-Ups:
- Re: Launching Cygwin through VC++
- From: Ben Voigt
- Re: Launching Cygwin through VC++
- Prev by Date: Re: listview with control child
- Next by Date: Message Box with scroll bars...
- Previous by thread: listview with control child
- Next by thread: Re: Launching Cygwin through VC++
- Index(es):
Relevant Pages
|