Reply To: Trying to compile with cygwin, need to pass unix filename

Product Compare Forums Multi-Edit Support Trying to compile with cygwin, need to pass unix filename Reply To: Trying to compile with cygwin, need to pass unix filename

#6025
AndyColson
Participant

I’v setup mew to compile with gcc (cygwin).

in my home directory I have this bash script (compile.sh):

[code:1sht0wp6]#!/bin/bash
A=`cygpath -u $1`
echo "Making In Dir: $A"
cd $A
make
[/code:1sht0wp6]

Then I setup mew like this:

Description: GCC
Commnd: c:\cygwin\bin\bash.exe –login -c “./compile ‘<path>’ ”
Working Dir: Current

It uses make, of course, so you may need to adjust for that…

-Andy