public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* victory! I have a working crosscompiler!
@ 2001-12-08 19:10 Adam Megacz
  2001-12-10  2:36 ` Bo Thorsen
  0 siblings, 1 reply; 13+ messages in thread
From: Adam Megacz @ 2001-12-08 19:10 UTC (permalink / raw)
  To: gcc


And it even says "hello world"! =)

Thanks for all your help, people.

I'll be submitting some patches as soon as I figure out what to do
about libc and libstdc++ (I know that libc is "a UNIX thing" -- is
libstdc++ also "a UNIX thing"?)...

  - a

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: victory! I have a working crosscompiler!
@ 2001-12-10 15:59 Danny Smith
  0 siblings, 0 replies; 13+ messages in thread
From: Danny Smith @ 2001-12-10 15:59 UTC (permalink / raw)
  To: gcc

 
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!

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-12-10 23:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-08 19:10 victory! I have a working crosscompiler! Adam Megacz
2001-12-10  2:36 ` Bo Thorsen
2001-12-10 11:11   ` Adam Megacz
2001-12-10 11:31     ` Zack Weinberg
2001-12-10 12:08       ` Christopher Faylor
2001-12-10 12:49         ` Adam Megacz
2001-12-10 13:11           ` Phil Edwards
2001-12-10 13:20             ` Adam Megacz
2001-12-10 11:38     ` Craig Rodrigues
2001-12-10 12:52       ` Adam Megacz
2001-12-10 11:44     ` Andreas Schwab
2001-12-10 12:34     ` DJ Delorie
2001-12-10 15:59 Danny Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).