ts-7000
[Top] [All Lists]

[ts-7000] finding libs in cross-compilation

To:
Subject: [ts-7000] finding libs in cross-compilation
From: "j.chitte" <>
Date: Thu, 21 May 2009 12:16:02 -0000
Hi,

I have managed to build dropbear with zlib since it has a ./configure option : 
--with-zlib=<path to sysroot libz>

but trying to build portmap , which is a makefile only project I get stuck as 
to how to point it to the libs.

 CFLAGS="-march=armv4t" CPPFLAGS="--sysroot=/tsroot " make
...
arm-unknown-linux-gnueabi-gcc -pie  portmap.o pmap_check.o from_local.o  -lwrap 
-o portmap
/back/ts/ct-ng/x-tools/arm-unknown-linux-gnueabi/lib/gcc/arm-unknown-linux-gnueabi/4.3.2/../../../../arm-unknown-linux-gnueabi/bin/ld:
 cannot find -lwrap


I would have thought sysroot would enable it to search the standard lib and 
usr/lib paths but it does not seem to be the case.

Is there another option I need to add to CPPFLAGS??

TIA




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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU