Closed digiajay closed 2 years ago
did you know more about gcc and ld (library static/dynamic linking)
I do not much about gcc/ld. Now, I have done building the zint with eclipse CDT.
@digiajay maybe did you can try a ide 'native' in C [or cmake, make] ide x lib x linking x compiller = too complex
suggestion: you can uses a static library (.a) to simplify. dynamic linking vary depends os/compiller/ ...
@denisdemaisbr I don't understand. You mean using native binaries like C,CC for compiling and building executable/library? What do you mean by static library?
@digiajay try it
example:
gcc -c y.c gcc -c x.c
ar cru libXY.a y.o x.o
gcc -shared -wl,-soname,libxy.so.1 -o libxy.so.1.0.1 y.o x.o
gcc -o z z.c libXY.a
gcc -o z z.c -lxy
As this fork is no longer in use, am closing this. Please raise a ticket at https://sourceforge.net/p/zint/tickets/ if you require further help. Thanks all!
Hi There,
I'm planning to use zint library for one of my application. I understand it's built in Linux but I'm new to Linux. I would like to get .so library and some examples to use the library api's. I can explore myself for some time if you can give me points like the platform I need to run it, development environment I would require, etc..,
Thanks Ajay.