Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Fernando Manoel Cambraia Guedes , djgpp AT delorie DOT com Date: Thu, 16 Jul 1998 15:38:02 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: bugs with c++ compiler In-reply-to: <35AD21F6.3EF6@iee.efei.br> Precedence: bulk Fernando Manoel Cambraia Guedes wrote: > I've got some trouble while trying to compile c++ code. In fact, I made > a simple program to test the compiler: > > #include > 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