This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
search path for cross gcc
- From: "Eric Fisher" <joefoxreal at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 27 Mar 2006 12:22:07 +0800
- Subject: search path for cross gcc
Hi,
I'd like to know how to set the search path of glibc for cross gcc. Suppose I
have mips-linux-gcc installed, when I type 'mips-linux-gcc test.c -o
test'. I think
the tool chain should find the glibc of mips/linux autmatically. Yet, it's just
the problem I'm meeting with. It can't be searched out.
/tmp/ccOgTDmg.o(.text+0x154): In function `main':
: undefined reference to `printf'
Thanks,
Eric.