This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Compiling w/o gcc?
Phil Edwards wrote:
> On Fri, Mar 30, 2001 at 05:59:37AM -0500, David A. Greene wrote:
>
>> I wish to compile libstdc++-v3 without gcc. I have another C++
>> compiler that I need to use due to differences in object layout,
>> mangling, etc.
>
>
> This is briefly mentioned in the FAQ:
>
> http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_1
I'll confess I missed that FAQ entry, but it's rather pessimistic.
And it doesn't provide any direction on HOW to build without
gcc. configure's options are not described in any detail, much
less the ability to override defaults (CC, GCC_FOR_TARGET, etc.)
with environment settings.
> Summary: the runtime support bits will have to be written for your compiler
> and platform (you'll need help from the compiler vendor), and you'll have
> to remove some of the GCC-specific bits (some pragmas and attributes,
> for starters).
Runtime is not a problem. I have that from the vendor. I assumed
I'd have to do some source editing but I'm not afraid of that. What
I need is some information on how to get started. Right now to do
anything requires building gcc, which completely, utterly fails
due to the lack of target support I mentioned.
How can I just strip out the library bits and build that?
Eventually (as in much, much later), I'd like to merge some of
my work into the official sources. I think having free libraries
that work with many compilers is an important objective.
Thanks!
-Dave
--
"Some little people have music in them, but Fats, he was all music,
and you know how big he was." -- James P. Johnson