Hi,
As a starting point you could take a look at the GuessOS function in
tools/utils.py and make sure that returns a valid string ('minix'
maybe?) instead of None. Then you need to add 'minix' to the list of
values in the 'os' part of SIMPLE_OPTIONS in SConstruct. After that
it's probably mostly a matter of adapting the flags in the SConstruct
files tagged with os:linux and introduce the equivalent flags for
os:minux -- and copying src/platform-linux.cc to src/platform-minix.cc
and tweaking it. Hope this helps.
Cheers,
Kasper
On Sat, Jun 12, 2010 at 2:02 AM, pikpik <[email protected]> wrote:
> Hi,
>
> I hope this is the right place to ask.
>
> I'm very interested in using the V8 engine on MINIX 3. I've got GCC
> 4.1.1, Python 2.4.3, and SCons installed and I've checked-out the
> trunk of V8. When I tried to run SCons in V8's folder, I was given the
> following error messages:
>
> $ cd v8-read-only
> $ scons
> scons: Reading SConscript files ...
> TypeError: cannot concatenate 'str' and 'NoneType' objects:
> File "/home/sjh/Documents/tests/v8/source/v8-read-only/SConstruct",
> line 667:
> SIMPLE_OPTIONS = {
> $ _
>
> So, I'm not quite sure what's wrong. I do understand that MINIX is not
> in the list of available platforms in SConstruct, however I'm not sure
> what should be done to add it. Would it be as simple as duplicating
> all Linux settings and renaming them as MINIX settings?
>
> Thank you,
> pikpik
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users