ports/124061: [patch]: lang/mlton (new features)
Timothy Bourke
timbob at bigpond.com
Wed Jun 11 22:30:07 UTC 2008
The following reply was made to PR ports/124061; it has been noted by GNATS.
From: Timothy Bourke <timbob at bigpond.com>
To: bug-followup at FreeBSD.org
Cc: jesper.louis.andersen at gmail.com
Subject: Re: ports/124061: [patch]: lang/mlton (new features)
Date: Wed, 11 Jun 2008 20:47:00 +1000
--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
After applying the previous patch, please remove the
files/patch-runtime-cenv.h file.
The port maintainer noticed that the path is too rigid, and that it
would be better to edit runtime/Makefile adding
CFLAGS+= -I${LOCALBASE}/include
But, I found that compilation succeeds anyway without the patch file.
BTW, to test cross compilation, create a file test.sml:
val _ = TextIO.print("Hello Windows\n");
And run:
mlton -target mingw32 -cc mingw32-gcc test.sml
(ignore the warnings: mingw32-gcc: unrecognized option '-b')
Then:
file test
should give:
test: MS-DOS executable PE for MS Windows (console) Intel 80386 32-bit
which will run in wine:
wine ./test
Please let me know if any extra information could encourage committal!
Thank you.
--pWyiEgJYm5f9v55/
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFIT60ktKVK1sFb0ecRAqRZAJ9fuwPYdPN9fko6Cimzw/iJ6iQYNwCfb3vL
A9ax3R0nAI6JcWrU97uLh4A=
=T7YW
-----END PGP SIGNATURE-----
--pWyiEgJYm5f9v55/--
More information about the freebsd-ports-bugs
mailing list