[Mono-dev] Cygwin "multiple targets" workaround

Levi Bard taktaktaktaktaktaktaktaktaktak at gmail.com
Thu Aug 17 14:39:45 EDT 2006


As requested by spouliot:

When getting this error during make on cygwin, the following
workaround works for me:

Create a script:
#!/bin/sh
#multtargetfix.sh

for i in "$@"
do
        echo "$i"
        cp -b "$i" "$i.orig"
        sed 's,c:/,/cygdrive/c/,' < "$i.orig" > "$i"
done
#end script

When encountering the error, run: multtargetfix.sh `find . -name
'*.Plo'` `find . -name '*.Po'`
Rerun make.
Repeat as necessary.


-- 
Tcsh: Now with higher FPS!
http://www.gnu.org/philosophy/shouldbefree.html



More information about the Mono-devel-list mailing list