Dear Netsurf developers,

Firstly, I want to thank you for making such modular web browser.

I have an embedded device with arm926EJ-s chipset, which is using simple linux 
framebuffer. And I want to port Netsurf to my device.

I passed many sequences, but I finally stuck on compiling libnsfb with 
arm-linux-gcc.  When I compile it with my GCC, it compiles perfectly. but when 
I compile it with my cross-tool: arm-linux gcc, I get following error:

root@ubuntu:/home/stulluk/dev/MRH-1202/MRH-1201/netsurf/libnsfb# make
 COMPILE: src/libnsfb.c
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make: *** [build-Linux-Linux-release-lib-static/src_libnsfb.o] Error 1
root@ubuntu:/home/stulluk/dev/MRH-1202/MRH-1201/netsurf/libnsfb#


And then, I disable with #-Wno-overlength-strings, but this time I get another 
error as below:


root@ubuntu:/home/stulluk/dev/MRH-1202/MRH-1201/netsurf/libnsfb# make
 COMPILE: src/libnsfb.c
 COMPILE: src/cursor.c
 COMPILE: src/plot/api.c
 COMPILE: src/plot/util.c
 COMPILE: src/plot/generic.c
 COMPILE: src/plot/32bpp.c
src/plot/32bpp.c: In function `get_xy_loc':
src/plot/32bpp.c:26: warning: cast increases required alignment of target type
make: *** [build-Linux-Linux-release-lib-static/src_plot_32bpp.o] Error 1
root@ubuntu:/home/stulluk/dev/MRH-1202/MRH-1201/netsurf/libnsfb# cd ..

My feeling is that my crosstool need some modifications to compile netsurf...

Can you help me about how to compile netsurf correctly?

Best Regards

Sertac

Reply via email to