This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

compiler linker flags


Further investigation yielded that the problem is with the virtual table
emission from the compiler. The virtual table symbols are undefined in
the object code, which naturally makes impossible for the linker to do
its job.

I am working in a template rich environment and all of this has to work
with shared libraries. All templates are explicitely instantiated. I
tried the -fvtable-thunks flag but that didn't help. Somehow the virtual
table definitions disappear once I send the code through g++.

Which flags could be responsible for this?

Any help is appreciated.

Thanks,
Robert

--
Robert Schweikert                      MAY THE SOURCE BE WITH YOU
rjschwei@mindspring.com                         LINUX




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]