[MLton-devel] yeah, that did the trick
Sam Rushing
rushing@nightmare.com
16 Sep 2002 23:12:26 -0700
--=-NB5Dkj9BwVrgu3McVoDH
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Mon, 2002-09-16 at 22:16, Stephen Weeks wrote:
>=20
> > Yeah, I'm not sure what the Standard Answer is on gmake vs. make. I'm
> > sure the vast majority of systems end up installing it.=20
>=20
> We had some discussion about that this afternoon and decided to go
> ahead and explicitly use gmake, since it works on both systems.
>=20
In ports, this is common enough that they have a standard define for it,
for example see /usr/ports/x11-fm/gnome-commander/Makefile, there's a
"USE_GMAKE" define.
Just a quick note on freebsd's ports/package system - 'ports' is the
heart of the system, it consists of a Makefile, patches, and file
signatures. From the ports sometimes 'packages' are built, these are
binary distributions, often distributed from the freebsd mirrors
directly. I'm pretty sure packages are built directly from ports, but I
don't know the details.
One thing I forgot to mention... I noticed when trying my first hackish
port, and in the current codebase, that mmap() is always failing with a
'hint' address:
5558 pat CALL mmap(0xf8000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xf0000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xe8000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xe0000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xd8000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xd0000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xc8000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xc0000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1 errno 12 Cannot allocate memory
5558 pat CALL mmap(0xb8000000,0x2000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -1207959552/0xb8000000
5558 pat CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -2015993856/0x87d66000
5558 pat CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
5558 pat RET mmap -2015989760/0x87d67000
-Sam
p.s. 'ktrace ./your_binary'; 'kdump | less'
--=-NB5Dkj9BwVrgu3McVoDH
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQA9hsfK96I2VlFshRwRAmTaAKC+8/IveA2TSdAOoGUkJJ19vU4phwCfdv8s
3Qlfd3aExh4lnhoaNo3LPpg=
=gohw
-----END PGP SIGNATURE-----
--=-NB5Dkj9BwVrgu3McVoDH--
-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology!
Open Source & Linux Developers, register now for the AMD Developer
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel