Hello Andreas, et al, Thank you for the tip! As it turns out this was a solid lead. I was not aware that gtk-config was just a shell script, so indeed all I had to do was locate the one for the MIPS build of GTK and yeehaw: successful link! Hopefully I can get it installed and running shortly here (having lame problems connecting to the target device presently) and will have some feedback on how this lightweight browser performs on a truly lightweight platform, just as it was designed to do. Regards, - Sean -----Original Message----- From: dillo-dev-admin@auriga.wearlab.de [mailto:dillo-dev-admin@auriga.wearlab.de] On Behalf Of Andreas Schweitzer Sent: Wednesday, July 02, 2003 2:24 AM To: Sean Kelly; dillo-dev@auriga.wearlab.de Subject: Re: [Dillo-dev] FW: Dillo project Cross-platform build problem re: GTK Hi, <cross-compiling and GTK>
My current approach is to try and trick the configure script by making it bring up a shell script that I write called "gtk-config" which I will point to in the $PATH environment variable. The output of it will respong to the three queries --cflags, --version and --libs with the responses pertinent to the MIPS target environment while at the same time being executable on the local development environment.
Hmmm, gtk-config is a shell script already - at least on my machine. If you set a variable GTK_CONFIG to point to the MIPS version, ./configure should pick it up and the MIPS version should tell the correct flags. That of course requires that the MIPS gtk-config shell script works correctly. Is the first line #!/bin/sh ? Sometimes these things are set to non-standard shells. And the PATHS in the MIPS gtk-config have to point to the MIPS paths. If everything else fails and you can link other GTK programs, I would simply try the attached patch and addtionally make sure that all GTK stuff gets found. (e.g. setting CPPFLAGS to find the includes and LDFLAGS to find the libs). This is not very clean, though. And in theory the first approach *should* work. Hope that helps, Cheers Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198