delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/27/09:17:48

Message-Id: <3.0.5.32.19980327091528.007a03d0@pop.iquest.net>
Date: Fri, 27 Mar 1998 09:15:28 -0500
To: Epameinondas Latanis <elatan AT asterix DOT ee DOT duth DOT gr>, djgpp AT delorie DOT com
From: ricki lee king <rlking AT iquest DOT net>
Subject: Re: help!I have problem with rhide
In-Reply-To: <Pine.LNX.3.93.980327030140.15249B-100000@asterix.ee.duth.g
r>
Mime-Version: 1.0

--=====================_891026128==_
Content-Type: text/plain; charset="us-ascii"

At 03:24 AM 3/27/98 +0200, Epameinondas Latanis wrote:
> I am new in DjGpp and I have faced some problems at the linking of c++
>files with RHIDE.
> I have installed the necessary packages and tried to work with the RHIDE
>after having made the proper settings.
> Plain c programs had no problems at all but with c++ I cannot say the
>same.The compiling was ok but the linking showed errors.At the following
>simple code (for example):
>
>#include<iostream.h>
>int main(void)
>{
> cout << "Testing...";
> return 0;
>}
>
>
>RHIDE would execute (in the window):
>
>executing:
>gcc     -o hello.exe   hello.o  -lstdcx
>
>...and the error would follow...
>
>Error: 
>c:/lang/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or directory
>(ENOENT)
>
> The paths are correctly set and so is the environment file of rhide.
> I understand that there must be an error with the parameters passed to
>gcc.
>
>  Could anyone help me ,please?
>
>
>

here is my djgpp environment for an example. of
course you must put in the correct paths.


--=====================_891026128==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="djgpp.env"

#= Don't edit this line unless you move djgpp.env outside
#= of the djgpp installation directory.  If you do move
#= it, set DJDIR to the directory you installed DJGPP in.
#=
DJDIR=%:/>DJGPP%

+USER=dosuser
+TMPDIR=%DJDIR%/tmp
+EMU387=%DJDIR%/bin/emu387.dxe
+LFN=n

[bison]
BISON_HAIRY=%DJDIR%/lib/bison.hai
BISON_SIMPLE=%DJDIR%/lib/bison.sim

[cpp]
CPLUS_INCLUDE_PATH=%/>;e:/sword/include;%DJDIR%/contrib/grx22/include
C_INCLUDE_PATH=%/>;e:/sword/include;%DJDIR%/contrib/grx22/include
#= OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc;
#= OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc;

[gcc]
#=COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%;e:/sword/lib/djgpp.v2;%DJDIR%/contrib/grx22/lib;%DJDIR%/allegro/lib/djgpp

[info]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
INFO_COLORS=0x1f.0x31

[emacs]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info

[less]
LESSBINFMT=*k<%X>
LESSCHARDEF=8bcccbcc12bc5b95.b127.b
LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$

[locate]
+LOCATE_PATH=%DJDIR%/lib/locatedb.dat

[ls]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[dir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[vdir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:

[gpc-cpp]
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/pascal

[gpc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib


--=====================_891026128==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="Autoexec.bat"

c:\util\fcon e
set DJGPP=e:/DJGPP/DJGPP.ENV
set PATH=e:/DJGPP/BIN;%PATH%;e:/djgpp/allegro/allpak
rem
SET GRX20DRV=VESA gw 800 gh 600 nc 256
SET GRXFONT=e:/djgpp/contrib/grx22/fonts
rem
rem SET GRX20DRV=VESA
rem SET GRXFONT=e:/SWORD/FONTS
SET SWORDPATH=e:/SWORD
set BLASTER=A240 I9 D1 H5 P330 T6 E604

--=====================_891026128==_
Content-Type: text/plain; charset="us-ascii"



--=====================_891026128==_--

- Raw text -


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