delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/31/11:30:11

Xref: news2.mv.net comp.os.msdos.djgpp:6616
From: "Maan M. Hamze" <mmhamze AT mail DOT utexas DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Help with DJGPP MSDOS Settings
Date: 31 Jul 1996 08:20:10 GMT
Organization: University of Texas at Austin
Lines: 44
Message-ID: <01bb7eb8$0a7bfa40$54fb5380@maan-m.-hamze>
NNTP-Posting-Host: slip-56-4.ots.utexas.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to run DJGPP ver 2 for MSDOS to no avail!!!!
I have the whole package installed in:
E:\DJGPP
I have E:\DJGPP\BIN in the autoexec.bat path;
I have:
SET DJGPP=E:\DJGPP\DJGPP.ENV
in autoexec.bat

Now, in DJGPP.ENV:
How do you set DJDIR:
DJDIR=????????

Also; I need an example on how to set a path in DJGPP.ENV.  The original
one has the UNIX slashes (/).
For example, is this correct:

[cpp]
CPLUS_INCLUDE_PATH=e:\djgpp\lang\cxx;e:\djgpp\include;e:\djgpp\contrib\grx20
\include
C_INCLUDE_PATH=e:\djgpp\include;e:\djgpp\contrib\grx20\include
OBJCPLUS_INCLUDE_PATH=e:\djgpp\include;e:\djgpp\lang\objc
OBJC_INCLUDE_PATH=e:\djgpp\include;e:\djgpp\lang\objc

[gcc]
COMPILER_PATH=e:\djgpp\bin
LIBRARY_PATH=e:\djgpp\lib;e:\djgpp\contrib\grx20\lib

And how do you exactly substitute the value of DJDIR in these settings.


Finally;
When I compile an example, say example.cpp, it compiles fine.  When I link
with:
gxx -o example.exe example.o
I get this:
e:\djgpp\bin/ld.exe : can't find crt0.o: no such directory or file.
Please note the mixed slashes above.

What is going on?

-- 
Maan M. Hamze
mmhamze AT mail DOT utexas DOT edu
http://leb.net/~mmhamze

- Raw text -


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