Mail Archives: djgpp-workers/1998/11/03/05:22:20
From: "Mark E." <snowball3 AT usa DOT net>
Date sent: Tue, 27 Oct 1998 12:25:54 +0000
Subject: collect2 hacked to make repo work
> I've modified collect2 in egcs 1-1a so that the template repository now
> works! I would like it checked over before I send in the patch in case I'm
> doing any DJGPP no-no's. The files can be found at
> http://members.xoom.com/snowball3/djgpp/ .
>
> The source files replace those in the egcs-1.1a/gcc/ directory. The
> collect2.exe binary works with egcs 1.1 although it may work with gcc
> 2.8.1 (someone please try this). If you do test the collect2 binary,
> please back up the existing binary and save yourself some potential
> trouble.
>
> I've also put up test.h and test.cpp so you can have something to see if
> everything works.
>
Seems that this hacked version of collect2 still has problems.
I began to write small program that uses class Integer from libg++
(no similar class in libstdc++). Program is unfinished of course.
#include <Integer.h>
#include <iostream>
#include <strstream>
int main ( int argc , const char * argv [] )
{
for (int ind=1; ind<argc; ind++)
{
Integer arg;
}
}
Tried to link. If I by error omit -lgpp hacked version of collect2 falls in
infinite sleep (no reaction to Ctrl-C or Ctrl-Break, only cure was to kill
DOS session under Win95). If -lgpp is included all works Ok.
collect2.exe from gcc-e11b.zip also works Ok.
I got failures with this binary hacked collect2 version and (also with similar
one, I got when patched egcs-1.1.1-prerelease: applied diffs between
original egcs-1.1 files and hacked version to egcs-1.1.1-prerelease)
Andris
- Raw text -