[Development] V8 doesn't build in cross-compilation

Thiago Macieira thiago.macieira at intel.com
Fri Dec 30 15:35:44 CET 2011


I have an ARM and a MIPS cross-compilation builds. My host machine is a 64-bit 
x86-64. Configure was run with no flags related to V8.

It told me:
V8 module .............. yes

mkspecs/qconfig.pri's QT_CONFIG contains "v8" but not "v8snapshot".

When I try to compile, it ends in:
make: *** No rule to make target `src_tools_mkv8snapshot-make_default', needed 
by `sub-v8-make_default'.

Looking at configure, I see:
        case "$CFG_HOST_ARCH,$CFG_ARCH" in
            i386,arm)
            ;;
        *) canUseV8Snapshot="no"
            ;;
        esac

That means the V8 snapshot is permitted in cross-compiling only when the host 
is 32-bit i386.

How does one build Qt in cross-compilation mode these days?

I'm perfectly happy to stop testing ARM at all...

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20111230/53759617/attachment.sig>


More information about the Development mailing list