This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
libbfd for cross target II
- From: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 29 Nov 2002 11:10:10 +0100
- Subject: libbfd for cross target II
- References: <3DE7378B.9060600@solidas.com>
Hi,
... and I see that it installs libbfd.a under
'i686-pc-linux-gnu/tic4x/lib'. How can I identify the
"i686-pc-linux-gnu" string from a shellscript or Makefile?
When I make a custom host application that needs the target libbfd.a, I
need to do a "-L$(TIC4X_PREFIX)/$(HOST)/tic4x/lib -lbfd" on it. How can
I set $(HOST) automagically? AFAICS uname does not reveal adequate
infomation to compile this string.
Svein