[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Could anybody explain this?
- Subject: Could anybody explain this?
- From: Prabhu Ramachandran <prabhu@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Sep 1999 00:23:07 +0530 (IST)
hi,
Pathbreaker writes:
> Hi, could someone explain these?
<snip>
> >-fthis-is-variable
If you know C++, the reason why assignment to 'this' is not a
good thing will be obvious. If you dont it will be tough to
explain. User defined free store I believe refers to ease of memory
allocation (new, delete and the like) to generic objects.
<snip>
> >2) - How do I create a .a file and a .so file?
man ar; man gcc; info ar; info gcc;
$ ar cvr mylib.a *.o
$ ranlib mylib.a
$ gcc -fpic -c mylib.c
$ gcc -shared mylib.o -omylib.so
prabhu
--
Learn it yourself! It is fun!!
------------------------------