This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: victory! I have a working crosscompiler!
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 11 Dec 2001 10:42:15 +1100 (EST)
- Subject: Re: victory! I have a working crosscompiler!
Adam Megacz <gcc at lists dot megacz dot com> wrote
>>Phil Edwards <pedwards@disaster.jaj.com> writes:
>> Right now libstdcv3 assumes a lot of POSIX semantics, because nobody has
>> contributed code to allow it to do otherwise. In the major cases (e.g.,
>> underlying I/O library), hooks and wrappers are in place to support
something
>>completely non-POSIX, but nobody has yet taken advantage of them[*].
> Thanks, Phil!
> So I guess the final answer is that I shouldn't worry if libstdcv3
> doesn't build properly when creating a linux-to-mingw crosscompiler,
> since mingw doesn't support the POSIX API.
No, that is not final answer. It does support the stdio_file_model, and
libstdc++v3 does build natively on mingw with that model (selected by
configure). There are missing bits in locale functionality (needs hooks
into native w32api, which is a wip) and there are missing wchar bits (due
to missing support in the C runtime) and others, but all told I was very
pleasantly surpised at how easily it did build natively on mingw32.
Danny
Danny
http://shopping.yahoo.com.au - Yahoo! Shopping
- Free CDs for thousands of Priority Shoppers!