2011-02-20 22:13:44 How to creat a FDPIC?
zhang zhihua (CHINA)
Message: 98274
Hi,
I want my system support the dlopen,but how to creat a FDPIC system?
--thanks
TranslateQuoteReplyEditDelete
2011-02-20 22:38:32 Re: How to creat a FDPIC?
Mike Frysinger (UNITED STATES)
Message: 98275
select FDPIC in the uclinux-dist build options
QuoteReplyEditDelete
2011-02-21 00:06:18 Re: How to creat a FDPIC?
zhang zhihua (CHINA)
Message: 98277
Hi,Mike,
Is config it like this?
Executable file formats --->
[*] Kernel support for FDPIC ELF binaries
[*] Kernel support for flat binaries
[*] Enable ZFLAT support
[ ] Enable shared FLAT support
< > Kernel support for MISC binaries
TranslateQuoteReplyEditDelete
2011-02-21 00:14:44 Re: How to creat a FDPIC?
zhang zhihua (CHINA)
Message: 98278
And then I make my own program,the Makefile is like this:
CROSS_COMPILE=bfin-linux-uclibc-
CC = $(CROSS_COMPILE)gcc
LD = $(CROSS_COMPILE)ld
STRIP = $(CROSS_COMPILE)strip
CFLAGS = -g -Iinclude
LIBS = lib/libcrypto.a lib/libssl.a -ldl
%.o:%.c
$(CC) $(CFLAGS) -o $@ -c $<
all:
$(CC) $(CFLAGS) -o test test.c $(LIBS)
clean:
rm -f *.o ecctest test
download it to my board and do like this:
>/:chmod 777 test
>/: ./test
but I canot run the test!
TranslateQuoteReplyEditDelete
2011-02-21 00:21:42 Re: How to creat a FDPIC?
Mike Frysinger (UNITED STATES)
Message: 98279
that is the kernel settings, not the vendor/user settings of uclinux-dist
QuoteReplyEditDelete
2011-02-21 00:35:33 Re: How to creat a FDPIC?
zhang zhihua (CHINA)
Message: 98280
Hi,Mike,
But where is the right location to setting is?
TranslateQuoteReplyEditDelete
2011-02-21 00:36:46 Re: How to creat a FDPIC?
zhang zhihua (CHINA)
Message: 98281
sorry,"to set it?"