I want to use it but we only have the libtermcap.a
I tried to create the .so file with:
ar -x libtermcap.a
qcc -Vgcc_ntox86 -shared -o libtermcap.so tcapvar.o tgetent.o tgoto.o
tputs.o
but I get a sissegv while loading the library.
Could you tell me what’s wrong or where I can get it?
Thanks,
Alain.
All the termcap functions are in ncurses, of which there is a shared
version at http://staff.qnx.com/~cburgess/freestuff
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
I want to use it but we only have the libtermcap.a
I tried to create the .so file with:
ar -x libtermcap.a
qcc -Vgcc_ntox86 -shared -o libtermcap.so tcapvar.o tgetent.o tgoto.o
tputs.o
but I get a sissegv while loading the library.
Could you tell me what’s wrong or where I can get it?
Thanks,
Alain.
–
cburgess@qnx.com
Colin Burgess a écrit :
All the termcap functions are in ncurses, of which there is a shared
version at > http://staff.qnx.com/~cburgess/freestuff
Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
I want to use it but we only have the libtermcap.a
I tried to create the .so file with:
ar -x libtermcap.a
qcc -Vgcc_ntox86 -shared -o libtermcap.so tcapvar.o tgetent.o tgoto.o
tputs.o
but I get a sissegv while loading the library.
Could you tell me what’s wrong or where I can get it?
Thanks,
Alain.
–
cburgess@qnx.com
Thanks Colin, that’s good.
Alain.
I want to use it but we only have the libtermcap.a
I tried to create the .so file with:
ar -x libtermcap.a
qcc -Vgcc_ntox86 -shared -o libtermcap.so tcapvar.o tgetent.o tgoto.o
tputs.o
but I get a sissegv while loading the library.
Could you tell me what’s wrong or where I can get it?
You need compile your sources with -shared and -fPIC flags …
–
Mike Gorchak
CJSC Malva
System Programmer