--- Begin Message ---hi calvin,
- From: rakesh p <rakesh_look yahoo com>
- To: Calvin Ellis <kyndig gmail com>
- Subject: Re: gtk cross compiling
- Date: Tue, 7 Mar 2006 02:35:46 -0800 (PST)
thanks and greets for your kind approach.
when i configure pkg-config it ends up with the following error..
please do notice what could make such a strange one.........
...........................................................................................
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable memory checking... no
checking whether to enable memory profiling... no
checking for powerpc-405-linux-gnu-gcc... (cached) powerpc-405-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether powerpc-405-linux-gnu-gcc accepts -g... (cached) yes
checking for powerpc-405-linux-gnu-gcc o ption to accept ANSI C... (cached) none needed
checking dependency style of powerpc-405-linux-gnu-gcc... (cached) gcc3
checking for powerpc-405-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for extra flags to get ANSI library prototypes... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for glib-1.2.8
.....................................................................................................
my configuration
............................................................................................................
i use /root/sourcegtk for source files and destination files are to be at /root/destgtk
export CC=powerpc-405-linux-gnu
export PATH=$PATH:$HOME/bin:/opt/crosstool/powerpc-405-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/
./configure --prefix=/root/destgtk/ --host=powerpc-405-linux-gnu
.....................................................................................................
--build and --target is taken automatically.i dont know whether i need to create a cache file manually to set the env variables..
Calvin Ellis <kyndig gmail com> wrote:FWIW:
http://cvs.mudmagic.com/co.php/mudmagic_client/macintosh.txt
That is the order I had to follow to get gtk compiled on my MAC. It took a number of sites/mailing-list reads to get the build env set up properly. The most helpfull site was: http://developer.imendio.com/wiki/Gtk_Mac_OS_X/Build_Instructions
You can u se the same approach on any OS.
KyndigOn 3/5/06, rakesh p <rakesh_look yahoo com> wrote:Hi all,
am trying to cross compile gtk in my power pc(powerpc-405-linux-gnu).
am a new comer for this cross compilation.i have used the following dependency packages.
1)freetype- 2.1.10.tar.gz
2)fontconfig-2.2.0.tar.gz
3)expat-2.0.0.tar.gz
4)atk-1.10.3.tar.bz2
5)glib-2.8.6.tar.bz2
6)cairo-1.0.2.tar.gz
7)pango-1.10.2.tar.bz2
8)pkg-config-0.20.tar.gz
and the gtk package is gtk+- 2.8.11.tar.bz2
i have tried in many ways but for bad luck nothing gave the one which i really want .
please help me to have gtk installed for my PPC.am cross com piling in my fedora core2 system.
it will be helpfull if the solution is with prioritywise compilation(ie)mentioning the priority of each package installation.
hoping best from u,
RAKESH
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
--- End Message ---