delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/23/03:04:48

X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs
Date: Wed, 23 Dec 1998 10:02:50 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Stefano Del Furia <delfo AT tech-center DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: your mail
In-Reply-To: <3.0.2.32.19981222231053.006e30c4@tex.lineanet.net>
Message-ID: <Pine.A41.4.05.9812230948550.43948-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019