Mail Archives: djgpp/1998/12/23/03:04:48
On Tue, 22 Dec 1998, Stefano Del Furia wrote:
> Dear Friend,
> i have tested egcs port with my programs and i want to congratulate with
> you for the good job.
> But i have a question.
> I don't reach to compile a simple program that use rope.
> Example:
>
> #include <rope>
>
> crope p(10,'x');
> main()
> {
> }
>
> when i try to compile this sijple program i obtain a lot of error during
> the link phase indicating that there are not some function.
> Please help me.
> TIA
>
There are binutils related problems with templates (they are solved for
ELF but not for COFF which is used for DJGPP). You can try to use option
-frepo however I'm not sure it will help but it may help (thanks to
patches to collect2 from Mark E)
gcc -c -frepo foo.c -o foo.o
gcc foo.o -lstdcxx -o foo.exe
Andris
- Raw text -