Please avoid top-posting on this list. Thanks!

On Mon, Apr 18, 2011 at 04:42:29PM +0300, Sertac TULLUK wrote:
>
> This time, I modified 16bbp.c line 72, and modified as void *, and it  
> compiled with my arm-linux-gcc perfectly..

OK. Thanks for that; that'll be fixed in SVN soon.

> And then, I tried to compile libcss.. But this time, I got tons of syntax 
> error with arm-linux-gcc as follows:
>
> root@ubuntu:/home/stulluk/dev/MRH-1202/MRH-1201/netsurf/libcss/0.1.0# 
> make install
> PREPARE: build-Linux-Linux-release-lib-static/gen_parser
> GENERATE: src/parse/properties/autogenerated_z_index.c
> build-Linux-Linux-release-lib-static/gen_parser: 1: Syntax error: word  
> unexpected (expecting ")")

[...]

This sounds very much like you've used the cross compiler to build the 
gen_parser tool, which needs to run on the build host.

How is your environment configured? In most cross-compilation set ups, 
the cross compiler is named <arch>-<system>-<os>-gcc and the host 
compiler is simply gcc.

If, in fact, your cross-compiler is named gcc and the host compiler is 
named something else, you'll need to tell make the name of your host 
compiler, thus:

make HOST_CC=<name-of-host-compiler> install

> I tried to compile libcss with my gcc, and I compiled all libraries with  
> gcc, and finally I get working netsurf on GTK for my kubuntu. And it has  
> worked succesfully. I didn't try to compile for TARGET=framebuffer 
> because I am running my kubuntu over vmware.

Sure, that's normal.

> Can you help me to compile libcss with arm-linux-gcc please?

See above. Also, which version of gcc is your cross compiler?


John.

Reply via email to