"Adam Ryczkowski" <sisteczko@...> writes:
> Is this true, that GCC doesn't support the 'export' keyword,
Yes, it is true.
> as well as compiling templates' definitions into object files?
I'm not sure what you mean here.
> (In The C++ Programming Language by B.Stroustrup the keyword 'export' was
> described as 'accessible from another translation unit' )
> Or, on the other hand, does the linker support template
> And how to achieve it?
For a discussion about how GCC handles C++ templates, see here:
BTW, 'export' is not as nice as most people thinks. The only existing
compiler front-end that supports `export' imposes strong trade-offs
when using it, specially on libraries. Specifically, it is not
guaranteed that it will speed-up compiles (actually, the opposite
effect is not rare) You can google comp.lang.c++.moderated for
extensive discussion about this topic.