Mail Archives: djgpp/1998/07/16/14:30:51
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 -