Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Xotor, dgjpp question

well, i took your advice and downloaded Rhide, DJGPP, and Allegro. Yet when i used the gxx command on my file it did not recognize the iostream/graphics header files. I thought my dos source code would work with DJGPP!


Comments

  • : well, i took your advice and downloaded Rhide, DJGPP, and Allegro. Yet when i used the gxx command on my file it did not recognize the iostream/graphics header files. I thought my dos source code would work with DJGPP!


    Did you take time to download the C++ package and install it?


    iostream.h and other graphics header files may require that. Did you also MAKE Allegro or whatever library you're using?


    -Xotor-


  • Ill check that stuff out, and yes i got allegro


  • I seem to be able to compile C but not C++. I have downloaded (using the zip picker) the C, c++, and objective C++ stuff, and i am pretty sure i installed everything, any ideas?


    Also can u tell me where i can find the commands or a tutorial on allegro, thanx.


    Icetray81


  • : I seem to be able to compile C but not C++. I have downloaded (using the zip picker) the C, c++, and objective C++ stuff, and i am pretty sure i installed everything, any ideas?


    Have you configured DJGPP correctly with all the include file paths correct?


    : Also can u tell me where i can find the commands or a tutorial on allegro, thanx.


    Open up the documentation file that comes with the zip.


    -Xotor-


  • Yes I followed all the directions, setting the path to djgpp etc.


    I will read the documentation




  • : Yes I followed all the directions, setting the path to djgpp etc.


    : I will read the documentation


    I just started using djgpp, a change from the

    VC++ env. It sounds like a library not being linked.

    Try gcc test.cpp -o test.exe -lstdcxx


    -SlackeR-


  • hmm, it said gcc.exe: installation problem, cannot exec 'cc1plus': No such file or directory (ENOENT)


    God I feel like suck a C newbie cuz I can figure this out, it seems like there is a file missing, but when i downloaded DJGPP i did get the cplus packet.....




  • : hmm, it said gcc.exe: installation problem, cannot exec 'cc1plus': No such file or directory (ENOENT)


    : God I feel like suck a C newbie cuz I can figure this out, it seems like there is a file missing, but when i downloaded DJGPP i did get the cplus packet.....


    Hrm.. did you install it by unzipping it with Winzip or another Win95 zip util? It may have gotten some of the names wrong since native DOS does not support + symbols in filenames.


    Did you install ALL the packages? I don't even know what I installed because my comp crashed and I lost the directory with all my DJGPP zips. I still have my installed copy however.


    -Xotor-





  • Yeah im pretty sure i installed everything, although i did use win95


  • : Yeah im pretty sure i installed everything, although i did use win95.


    Here's my directory printout of my DJGPP directory and everything that is in it (link at bottom).


    Here's my DJGPP.ENV file:


    #= 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=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include

    C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/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%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib


    [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

    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:




    URL:http://poseidonet.virtualave.net/files/djgpp.txt

Sign In or Register to comment.