[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Makefiles for making shared Swarm
From: |
Ho-Sheng Hsiao |
Subject: |
Makefiles for making shared Swarm |
Date: |
Sat, 8 Feb 1997 10:54:04 -0500 (EST) |
I modified the Swarm 1.0.0 Makefiles. Sorry it took this long -- I have a
rather primitive email system so I can't send proper attachments.
Anyways, these makefiles are Linux specific. They won't work on non-ELF
systems. Also, you will have to recompile the library core with the -fPIC
flag. So you will have to add in -fPIC at the EXTRACCFLAGS (or something
similar), compile the entire library, then remove it (or your applications
would have -fPIC... )
Then, from the Swarm home directory, do a "make shared" which will
de-archive the objects and relink a libSwarm.so.1.0.0 in the lib/ directory.
The "1.0.0" is controlled by a couple make flags in Makefile.conf.
Also, notice that the "LDCONFIG" make flag is "shared" (instead of "bin"
or "archive").
Again, these are fairly crude hacks... :)
BTW: I found out why there were undefined symbols in my original
hand-compilation. It seems that I put the -l flags *before* the object
list in the gcc command line. Oops... :)
---hhh
Makefile.appl
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Makefiles for making shared Swarm,
Ho-Sheng Hsiao <=