Experimental Physics and
| |||||||||||||||||
|
David Dudley wrote:
Hmm, I think there may be a problem here which means you might not be able to create shared libraries for NetBSD. Can I make sure I'm understanding your point first though: 1. To compile code for a .so, you *must* pass '-shared' to the gcc or g++ command line when you compile the .c/.cc/.cxx file. 2. To compile code for an executable (and presumably for a lib.a file), you *must* *not* pass '-shared' to the gcc/g++ command line. If those statements are both correct, I think you're going to have to disable the building of shared libraries since I believe we have no way to recompile a source file with different options to generate two different .o files from the same source. You can disable building shared libraries by setting SHARED_LIBRARIES=NO in your CONFIG.Common.netbsd-x86 file. I would recommend that you do that anyway for now and come back to the .so problem later. Looks like most of the Make files were done by jba (I'm taking that to be Janet Anderson, I hope... She still doing work on this, or anyone have a suggestion? Yes, JBA is Janet Anderson <[email protected]> who is responsible for the build system. David Dudley wrote: Well, I'm sure it won't run correctly, but ***IT COMPILES WITHOUT ERRORS***! Congratulations! I assume you ignored or disabled the .so builds to get to this point. - Andrew -- There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists. -- Yosemite National Park Ranger
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |