pkg-config cross compilation



am trying to cross compile pkg-config.but all the way its ends up with the following error
-------------------------------------------------------------
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 option 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

--------------------------------------------------------------------------------

has anybody seen this error?please do reply with solution
my configuration is
----------------------------
./configure --prefix=/root/destpkg/ --host=powerpc-405-linux-gnu

(/root/destpkg/ is the destination for it)



regards

RAKESH


Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]