harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [os] freebsd
Date Fri, 14 Jul 2006 06:54:32 GMT

On 13 July 2006 at 19:34, "Anton Luht" <anton.luht@gmail.com> wrote:
>
> Hello,
> 
> Some time ago I installed FreeBSD 6.1-RELEASE on my home computer and
> tried to build original Harmony VM donation [1] + corresponding
> classlib on it. In the end of the efforts I've managed to build it and
> print something with '-?' argument, but unfortunately an attempt to
> run 'Hello, world' app failed.
> 
> The algorithm was straighforward - when a compile error happened, I've
> tried to fix it in a straightforward way just to make build pass this
> stage, and I'm not surprised that the resulted VM doesn't work :)
> 
> Maybe the list of those changes will give an idea what things should
> be modified to run Harmony on another platform.
> 
> Details:
> [snip]
> - replaced everywhere #include <malloc.h> with #include <stdlib.h>

This should actually be changed in the code base since it is the correct
header to use on linux when using malloc and friends.  (See SYNOPSIS of
"man malloc".)

Regards,
 Mark.



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message