www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/16/14:30:51

Message-Id: <m0ywsmg-000S4aC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Fernando Manoel Cambraia Guedes <fernando AT gerson DOT iee DOT efei DOT br>,
djgpp AT delorie DOT com
Date: Thu, 16 Jul 1998 15:38:02 +0000
MIME-Version: 1.0
Subject: Re: bugs with c++ compiler
In-reply-to: <35AD21F6.3EF6@iee.efei.br>

Fernando Manoel Cambraia Guedes <fernando AT gerson DOT iee DOT efei DOT br> wrote:

> I've got some trouble while trying to compile c++ code. In fact, I made
> a simple program to test the compiler:
> 
> #include <iostream.h>
> main()
> {
>    cout << "testando";
> }
> 
> I use RHIDE for developping with djgpp. At the first try, LFN was set to
> 'n', and I've got the following error (the comand line was called by
> RHIDE):
> 
> command -> gcc -g -c teste.cpp -o teste.o
> 
> error   -> e:/djgpp/lang/cxx/iostream.h(31) Error: streambuf.h: No such
> file or directory (ENOENT)
> 
> When I changed LFN to 'y', the long filename problem went out,

That's because you uncompressed the files with a program that 
supports long file names.

>  but this
> new problem appeared at the link phase:
> 
> command -> gcc -o teste.exe teste.o -lstdcx
> 
> error   -> e:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (ENOENT)
> 
> I tried to solve the problem by the FAQ, but the best I did was this. If
> you could help-me, I'd be very grateful.

Now is the reverse, but anyways, try renaming %DJDIR%/lib/libstcxx.a 
to libstdcx.a

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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