[Webkit-unassigned] [Bug 135932] 2.5.[12]: problem when installing in a multilib environment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 19 04:53:33 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=135932





--- Comment #2 from gabriele balducci <balducci at units.it>  2014-08-19 04:53:41 PST ---
> I guess that here you would need to use "gcc -m32" as your compiler,
> but I don't know how to do something like that with cmake (see bug 130009).

The job of running with the -m32 option switched on is actually done
*mostly* with these two:

    -DCMAKE_C_COMPILER_ARG1=-m32
    -DCMAKE_CXX_COMPILER_ARG1=-m32

The problem seems to be that the above cmake vars are not used in
PlatformGTK.cmake

> A workaround is to create a wrapper script that calls "gcc -m32" and
> use that script as your C compiler. Would that work for you?

yes, this is another quite efficient workaround: things work smoothly
for me by sed-ing PlatformGTK.cmake as per my original report above,
but I will keep your suggestion as a good alternative, thanks.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list