OCaml cross compiler

Richard W.M. Jones rjones at redhat.com
Sat Feb 7 09:37:07 UTC 2009

On Fri, Feb 06, 2009 at 07:27:53PM +0100, Luigi Santocanale wrote:
> Could not parse metalink 
> https://mirrors.fedoraproject.org/metalink?repo=fedora-10.91&arch=i386 

The "10.91" in that URL indicates you are installing Fedora Rawhide,
ie. the development/alpha-quality version of Fedora.  Rawhide is where
breakage occurs, and so you should follow the main fedora-devel-list
mailing list and post bugs there.

>  >>
> I686MINGW32DLLDIR=\\usr\\i686-pc-mingw32\\sys-root\\mingw\\bin
> NSISWRAPPEROPTS=--installdir 'C:\Program files\VMGcalc' \
> --name "VMGcalc" --outfile "VMGcalc-for-Windows.exe" \
> --with-gtk \
> nsisscript:
> 	cd ../windows ;\
> 	nsiswrapper $(NSISWRAPPEROPTS) \
> 	bin/Vmgcalc.exe \
> 	| awk ' {sub(/$(I686MINGW32DLLDIR)/,"bin"); print}' \
> 	 > script.nsis
> <<

Where does this Makefile rule come from?  Where does the 'awk' line
come from?  This doesn't seem to be any part of our packages.

> but the folders etc/ and lib/ are not removed (hence the INSTDIR folder 
> is not removed itself).
> Shouldn't the script contain something as
> RMDir "$INSTDIR\lib\"
> RMDir "$INSTDIR\etc\"
> ?
> Also,  notice the line
>  >>
> | awk ' {sub(/$(I686MINGW32DLLDIR)/,"bin"); print}' \
> <<
> in the nsisscript target.

I've no idea where you got that line from.  nsiswrapper will normally
generate corresponding RMDir commands.  If the output of nsiswrapper
is incorrect and you are using awk to try to correct it, it would be
better to fix nsiswrapper itself and post patches back here.


Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.

More information about the mingw mailing list