Gentoo Archives: gentoo-embedded

From: Vladimir Pouzanov <farcaller@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Target libs
Date: Mon, 28 Aug 2006 11:14:17
Message-Id: 9956e0d30608280410pea97a1au54341d6243d91f8e@mail.gmail.com
1 Hi all,
2
3 What is the best way to point cross-emerge to target libs? E.g. bash
4 should be linked with -L/home/farcaller/develop/gentoo_rootfs/lib
5 -L/home/farcaller/develop/gentoo_rootfs/usr/lib
6
7 Is it enough to add -L/.../usr/lib -L/.../lib to LDFLAGS and
8 -I/../usr/include to CFLAGS in Makefile? It works for now, but I'm not
9 sure what to do if I have any package that has libs/headers outide of
10 this dirs.
11
12 --
13 Sincerely,
14 Vladimir "Farcaller" Pouzanov
15 http://www.hackndev.com
16 --
17 gentoo-embedded@g.o mailing list