I am trying to build myself the Linux64 version. I have some questions and problems:
Q:
-Can I build a version of JCEF targeting a system different than the current one? e.g. building windows version from linux.
-How do I choose if I want to enable/disable things like WebGL? or simply by taking the trunk version it will enable it?
P:
-I have Ubuntu 13.10 Saucy. The package mentioned in the requirements (binutils-gold) does not exist anymore and now it is apparently included in binutils. When trying to build the source (./build.sh Release) I get the following error:
...
third_party/cef/linux64/cefclient.target.mk:123: warning: ignoring old commands for target `out/Release/libpdf.so'
CXX(target) out/Release/obj.target/jcef_helper/native/util_linux.o
native/util_linux.cpp:26:1: error: ‘sv’ does not name a type
sv
^
make: *** [out/Release/obj.target/jcef_helper/native/util_linux.o] Error 1
Searching in the Internet, it appears that the error comes from the fact of not linking with gold. But I can't find a way to point the linker to gold.
I found this site:
http://code.google.com/p/chromium/wiki/ ... using_gold In which tells me to set the CC and CCX environment variables to point gold (export CC="gcc -B/usr/local/gold/bin" ) but I don't have this folder in my system.
A search "gold" in my whole system returns me some files and folders:
/usr/lib/gold-ld/ld
/usr/bin/ld.gold
usr/bin/gold
Pointing to any of them doesn't fix the problem and the building process ends with the same lines.
Thanks.