configure tests, howto ?

'Luciano Miguel Ferreira Rocha' strange at nsk.no-ip.org
Tue Jan 2 19:10:51 UTC 2007


On Tue, Jan 02, 2007 at 04:38:15PM +0100, Joakim Tjernlund wrote:
> binutil 2.16.1 doesn not support REL16, but that's not the point
> I want to construct something that TESTS if the current binutils
> support REL16 or not. 

I thought you already had that (the AC_CACHE_CHECK line) and was trying
to make that work with uclibc. It should work without any changes, as
long as the compiler used for the test compiles against uclibc.

> This is what I got sofar, but its not working yet:
> 
> PPC_HAS_REL16:=$(shell echo -e "\t.text\n\taddis 11,30,_GLOBAL_OFFSET_TABLE_-. at ha" | $(CC) -x assembler -o /dev/null\
>  -  2> /dev/null && echo -DNO_REL16 || echo -DHAVE_ASM_PPC_REL16)
> CFLAGS+= $(PPC_HAS_REL16)

How isn't it working?

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070102/fb4c71c9/attachment-0002.pgp 


More information about the uClibc mailing list