Mail Archives: djgpp/1997/12/31/06:30:23
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>On Mon, 29 Dec 1997, Rick wrote:
>> Also when I manually set the library_path variable to c:\djgpp\lib
>> then I got a whole bunch of cout reference errors, but not the
>> crt0.o error.
>This strongly indicates that the problem is with the way you set the
>DJGPP environment variable. Please post here your CONFIG.SYS and
>AUTOEXEC.BAT. Also, in the same DOS box where you are trying to invoke
>gcc, type "set > env.lst" and post the contents of the file env.lst that
>this command creates.
Yes, well must do. Here's SET:
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
WINBOOTDIR=C:\WINDOWS
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\MASM\BIN;C:\MASM\HELP;C:\DJGPP\BIN
LIB=C:\ASM\LIB; C:\ASM\WIN95\MSTOOLS\LIB;C:\C700\LIB
INCLUDE=C:\ASM\INCLUDE;C:\ASM\WIN95\MSTOOLS\INCLUDE;C:\MASM\INCLUDE;C:\C700\INCLUDE
DJGPP=C:\DJGPP\DJGPP.ENV;
windir=c:\windows
autoexec.bat does this after SET:
C:\BAT\COM34.COM
C:\WINDOWS\COMMAND\DOSKEY.COM
CALL C:\BAT\MENU.BAT
The last menu.bat gives me the choice to call win if I want to..
Config.sys:
files=20
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
buffers=40
Country=031,850,C:\WINDOWS\COMMAND\country.sys
>> After reinstalling djdev+lgp+gpp nothing changes. I will
>> try reinstalling binutils now
>This is DJGPP, not MS Word---reinstalling isn't the way to solve
>problems. I suggest to stop this re-installation boogie and concentrate
>on the correct setup as explained in the readme.1st file and section 8.1
>of the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP).
Done that first of course. I am not stupid(so I want to believe...),
but it was a suggestion made by the first replier that probably
RSXNTDJ could have messed things up. Although I did not believed
that I thought I should try to be submissive once..-;)
>> The question is WHAT does LD.EXE expect for the path of crt0.o ?????
>It is all set up by the magic DJGPP.ENV file. If you haven't changed it,
>and if your DJGPP environment variable points correctly to that file, ld
>should find crt0.o automatically.
Well, it doesn't. That was why I posted message in the first place..
BTW things compile fine when I have library_path=c:\djgpp\lib and
when I call gxx with the proper include paths!
But of course I want djgpp.env to work in the end!
Rick
- Raw text -