From: leonj AT geocities DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: Help, C++ link error!! Date: Sun, 27 Dec 1998 06:46:02 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 65 Message-ID: <764l39$tev$1@nnrp1.dejanews.com> References: <76164c$bbs$1 AT nnrp1 DOT dejanews DOT com> NNTP-Posting-Host: 171.212.20.249 X-Article-Creation-Date: Sun Dec 27 06:46:02 1998 GMT X-Http-User-Agent: Mozilla/4.05 [en] (Win95; I) X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 171.212.20.249 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have the same problem. The only way I'm able to get around it for the time being is to compile in DOS; the command line. I think you have to use GXX.EXE? Good luck! If you find it please lemme know. JL In article <76164c$bbs$1 AT nnrp1 DOT dejanews DOT com>, abhicomp AT netscape DOT net wrote: > Hi, I'm a new user of the djgpp and only recently downloaded the compiler. > When I tried to compile a simple C++ program: #include int > main() { int a, b, prod; cout << "Multiplication program\n"; cout << > "Enter the first number: "; cin >> a; cout << "\nEnter the second number: > "; cin >> b; prod = a * b; cout << "\nThe product is: " << prod << endl; > exit (prod); } using RHIDE, it compiled without any errors, but when it was > linking and creating the *.exe file, the linking stopped suddenly and the > message window had this message: 'Error: e:/djgpp/bin/ld.exe: cannot open > -lstdcx: No such file of directory (EN0ENT)' > > I thought that there was something wrong with the ld.exe and since I searched > the docs and was not able to find anything that could help me and I posted > this message. > > Here's the information as requested in the documentation: > > ENVIRON.LST: TMP=C:\WINDOWS\TEMP winbootdir=C:\WINDOWS > COMSPEC=C:\WINDOWS\COMMAND.COM WINPMT=$P$G DIRCMD=/O TEMP=C:\PBTOOLS\WINTEMP > PROMPT=[WINDOWS] $P$G GALAXY=A220 I5 D1 K10 P530 T6 SOUND=C:\SOUND144 > PATH=E:\DJGPP\BIN;E:\CENTURA;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\PROGRA~1\BO > RLA ND\CBUILDER\BIN;E:\DJGPP\BIN; DJGPP=E:\DJGPP\DJGPP.ENV windir=C:\WINDOWS > BLASTER=A240 I10 D3 > > go32-v2 reported: > DPMI memory available: 10467 Kb > DPMI swap space available: 2661 Kb > > Autoexec.bat: @ECHO OFF C:\SOUND144\UTILITY\AZCAL.EXE PROMPT $P$G SET > PATH=E:\CENTURA;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\PROGRA~1\BORLAND\CBUILDE > R\B IN; rem - By Windows Setup - LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD0001 > /M:20 /S SET DIRCMD=/O SET TEMP=C:\PBTOOLS\WINTEMP SET WINPMT=[WINDOWS] $P$G > SET BLASTER=A220 I5 D1 T4 SET GALAXY=A220 I5 D1 K10 P530 T6 SET > SOUND=C:\SOUND144 set > PATH=E:\DJGPP\BIN;E:\CENTURA;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\PROGRA~1\BO > RLA ND\CBUILDER\BIN;E:\DJGPP\BIN; SET DJGPP=E:\DJGPP\DJGPP.ENV > > config.sys: > DEVICE=C:\WINDOWS\HIMEM.SYS > DOS=HIGH,UMB > DEVICE=C:\WINDOWS\EMM386.EXE NOEMS I=B000-B7FF > FILESHIGH=30 > BUFFERSHIGH=20 > STACKSHIGH=0,0 > FCBSHIGH=1 > DEVICEHIGH=C:\WINDOWS\MOUSE.SYS > DEVICEHIGH=C:\PBTOOLS\GSCDROM.SYS /D:MSCD0001 > > You can contact me at the above e-mail address if you need any more > information that I can provide. -- jHeNtRaToR > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own