Dear m,

I am sorry for not providing enough details. Handheld device is running on linux kernel 2.6.10. The tool chain (including almost complete file system) is from Montavista. I want to build it for linux framebuffer.

I have already build Netsurf for my Ubuntu system and works fine. Now I need to cross compile it to run on Handheld device and that's where I need help. Where can I specify compiler, library path, include path for Montavista linux (2.6.10) instead of my system path (Ubuntu).

Generally such packages have /configure/ script where we can specify CC, CFLAGS, LDFLAGS, PREFIX etc... But Netsurf does not have such facility.

*Regards,
Dipen Patel *

On Friday 25 February 2011 01:23 PM, m0n0 wrote:
Am Fr, 25.02.2011, 07:11 schrieb Dipen Patel:
Dear Developers,

We have a ARM based Handheld device where we want to port Netsurf
browser to provide web based user interface.

I looked at Makefile(s) but could not get idea where to make changes. I
have done Googling but didn't get anything. Can anyone help me identify
changes required to build Netsurf for Montavista 4 embedded linux?
I guess you want to run things without GTK... so you will need to compile
libnsfb to support different framebuffers.

The library works for X, linux (kernel?) framebuffer, SDL framebuffer and
VNC... it can choose the appropriate backend during runtime - but it needs
all of the development files during compilation. Which means - if you
don't have support for X on you system, you will have to patch the
makefiles to just don't bother to compile for X. I once addressed that
problem but my provided patch was ignored... But I will send it to you if
you want. With that patch you can specify for which backends you want to
build libnsfb.

After compiling&  installing libnsfb (and all the other netsurf libs:
wapcaplet, parserutils, libcss, hubbub, nsbmp, nsgif) you should be able
to enter:

make TARGET=framebuffer

on the command line within netsurf directory - at least if you have
installed all other dependencies ( like correct make version, libcurl,
openssl, libxml,libpng...).

You ask about making changes - but why? Do you encounter errors during
compilation?

Reply via email to