Shared Libraries

David Snopek xevol@execpc.com
Sat Jul 8 16:16:00 GMT 2000


I found the solution to the problem (or at least something that makes it
go away) although I do not really understand it.  In all of my files I
had "#pragma interface" in the header and "#pragma implementation" in
the implementation.  I had read in the man pages for g++ that if you
don't give "#pragma implementation" a header name then it will use the
files name except with the *.h extension, so I didn't supply one because
all of my files are named in this fashion.  In the midst of trying
completely random things, I put the header names in.  And now it works
perfectly.  I don;t know why, but for now I do not care.  Thanks for
trying to help!!

    - David Snopek



More information about the Gcc-help mailing list