This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

porting libstdc++ to custom OS?


Hello,

I use a precompiled GCC v3.3 crosscompiler for SH platform, where I have
a custom multithreaded OS. My development platform is win32 (Cygwin). I
want to port libstdc++ to work properly with my OS, but do not want to
compile gcc. (I do not use exceptions or rtti, so I suppose gcc
internally do not need to be aware of my OS.) Specifically, I only want
to use STL containers and algorithms, and nothing which need OS support
(e.g. IO streams, character types or locale).

What I have to do?

Thanks,
Ferenc

PS: As a workaround, can I use the (not thread-aware version) libstdc++
provided with the compiler safely if I use the allocator
__malloc_alloc_template<> instead of __default_alloc_template<>? (I have
already implemented the __malloc_{lock,unlock}() functions.)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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