This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix
On Mon, Dec 18, 2006 at 12:25:15PM -0800, Brian Dessent wrote:
> Bob Rossi wrote:
>
> > It doesn't look like Danny was building a relocatable gcc for mingw.
>
> Of course he does. The packages would be useless if they had to be
> installed in a specific directory. That was the point I tried to make
> when you first posted, that this is supposed to be the inherent case of
> the MinGW target, you aren't supposed to have to do anything special in
> order for the compiler to be relocatable.
>
> If it's currently broken in HEAD (note: I don't know why you're using
> 4.1, that's two branches behind, so it's not quite indicative of the
> current state of things) then that means somebody needs to investigate
> exactly what's happening and submit a patch.
OK. Thanks Brian. I'll admit this is new to me, so I could be making
some stupid mistakes here. Basically, I needed wchar_t support with
mingw, and I was told that this works with the 4.x series. Which indeed
it does! So, I went to this page,
http://gcc.gnu.org/releases.html
and downloaded the most recent release. Is that not the proper thing to
do?
> > I may try a little more, but because of my lack of knowledge with gcc, I
> > don't even know how to get myself from the state I'm at, to a better
> > state.
>
> These kinds little issues are exactly why you don't yet see gcc 4.x
> packages available for distribution from MinGW or Cygwin.
Well, it's about time someone solves them, don't you think? I'm here to
make a little noise I guess :). Unfortunatly, hacking gcc isn't really
my thing.
I'm wondering if I should try building gcc-3.4.2 to see if I can get a
relocatable version of gcc, or a version of gcc that works at all.
If I can, that would at least be a starting point, even though gcc-3.4.2
is useless to me.
Thanks,
Bob Rossi