Mail Archives: cygwin-developers/1998/02/18/17:17:07
Christopher Faylor wrote:
>
> Mumit Khan has indicated that he is having problems getting collect2 to
> work with EGCS due to an apparent bug in newlib's freopen.
>
> The problem is that freopen is apparently not preserving the fd of the
> stream that is operating on.
I have committed this patch since it does fix the problem demonstrated
in your test program. However, I still have collect2 problems.
//cpp.1
#include <list.h>
list<int> my_list01;
---------------------------
//cpp.2
#include <list.h>
int main()
{
list<int> my_list02;
return 0;
}
------------------------------
If I compile these files using b19:
g++ -c -frepo -fno-implicit-templates 1.cpp 2.cpp
g++ -frepo 1.o 2.o
the compile fails. This happens in the same way regardless of the
behavior of freopen.
Also I just noticed that my g++ et al aren't being installed correctly
because they aren't getting a .exe suffix appended during build time.
I'll have to fix the makefiles...
--
Geoffrey Noer
noer AT cygnus DOT com
- Raw text -