This is the mail archive of the
mailing list for the Cygwin project.
Re: gcc -mno-cygwin STL support for setup.exe?
On Fri, Jan 18, 2002 at 01:06:32PM -0500, Christopher Faylor wrote:
> On Fri, Jan 18, 2002 at 01:03:05PM -0500, Jason Tishler wrote:
> >Unfortunately, I'm getting bogged down trying to add the rebase
> >functionality to setup.exe due to the lack of STL. I am hoping that
> >I will not have to re-implement linked lists and possibly associated
> >arrays too. I see that Rob has a list class, but I don't think that it
> >will meet all of my needs.
> Weren't you going to rewrite rebase in C? It is very likely that it
> wouldn't be accepted into binutils otherwise.
Yes, I'm done converting the stand-alone version into C. I have even
converted it into a Mingw program so that it can rebase the Cygwin DLL
Sorry for not being clear. What I'm trying to accomplish now is to
integrate something like the following functionality directly into
On Sat, Dec 08, 2001 at 01:39:52PM +1100, Robert Collins wrote:
> Actually what I have in mind is
> * changes to setup
> if (installing a .dll or .exe)
> rebase and store info in /etc/setup
> find object size - sz
> lookup a gap of sz in the address table in /etc/setup
> find object dependencies
> if (a cygwin .dll)
> rebase this
> if (a non-cygwin .dll)
> store the base and size info in /etc/setup
The rebase stuff above is easy -- unfortunately, the address table stuff
without STL (i.e., list, map, etc.) is not. :,(
> >About a year ago, there was some discussion about adding libstdc++.a to
> >Cygwin's gcc -mno-cygwin mode. Can we revisit this issue?
> The biggest issue with relying on libstdc++.a for for setup.exe is that it
> requires this library to be built for cross-compilation. I have no idea how
> to do that.
I don't know either -- this is why I'm asking for help.