This architecture has manu names, see http://en.wikipedia.org/wiki/X86-64. For V8 we have chosen x64.
Regards, Søren On Tue, Aug 24, 2010 at 18:46, AJ ONeal <[email protected]> wrote: > I'm not sure who is to blame here - node or v8. > > I believe that DEST_CPU comes from GCC in this case. > If so, why is arch argument for v8 different from the one GCC uses? > > Wouldn't it make sense for v8 and node to use the same same naming > conventions for arch so that cross-compiling will just work? > > > diff --git node-v0.2.0/wscript.orig node-v0.2.0/wscript > index df9ef53..a55d464 100644 > --- node-v0.2.0/wscript.orig > +++ node-v0.2.0/wscript > @@ -326,6 +326,9 @@ def v8_cmd(bld, variant): > arch = "" > if bld.env['DEST_CPU'] == 'x86_64': > arch = "arch=x64" > + # XXX Better support cross-compilation > + else: > + arch = "arch=" + bld.env['DEST_CPU'] > > if variant == "default": > mode = "release" > > -- > 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
