Mail Archives: djgpp-workers/1999/06/07/07:22:52
On 7 Jun 99, at 12:38, Jan Hubicka wrote:
> On Mon, Jun 07, 1999 at 12:21:35PM +0300, pavenis AT lanet DOT lv wrote:
> > We could expect release of gcc-2.95 after not so long time. Therefore
> > I have built 2 June snapshot of egcs for DJGPP and made binaries of
> > C and C++ compilers are available for testing.
> Great! Thats one of thinks I wanted to do this week...
> >
> > http://www.lanet.lv/~pavenis/gcc295snap.zip - C compiler
> > http://www.lanet.lv/~pavenis/gpp295snap.zip - C++ compiler + libstdcxx.a
> > http://www.lanet.lv/~pavenis/lgp295snap.zip - libgpp.a built with this compiler
> >
> > Please test them (I'll do the same).
> >
> > My preliminary results
> > - I tested one example I had to use -frepo with egcs-1.1.2. Now works
> > without it (example with rope that caused linker errors earlier)
> > - exceptions seems to work
> > - compiler is able to rebuild itself
> >
> > About building:
> > No /dev/env (or similar) hacks used. The idea how to force $DJDIR
> > into prefix was "stolen" from GPC sources (thanks GPC developers for
> > hont)
> How large are the changes necessary to build egcs on djgpp? Would be possible
> to put those changes directly to the egcs tree? I would like to build egcs
> myself sometimes and problems with patching tree around always stops
> me from this idea...
>
Maybe some of them but certainly not all.
For example to avoid filename conflicts for STL and libg++ header
files it's necessary to rename some of them with corresponding
changes to other files. I don't think such changes will be accepted...
Also I patched gcc/dwarf2out.c to avoid need to use BFD assembler
to get exceptions working. AS from binutils-2.9.1 built as BFD
assembler is broken. From snapshots it works, but I think
exceptions should work with released versions. Related patch to
dwarf2out.c sent by Laszlo Molnar (he found source of problem)
was rejected.
But of course I'm not patching all files manually: as before
(beginning from egcs-1.1) I use some shell script that does this
work for me. Currently I did rather big changes to this script to
make it simpler (removed embeded patches from it to a separate
directory tree). When I'll think I'll be ready I'll make it also available.
Andris
- Raw text -