delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/26/04:36:28

Message-ID: <19980726083415.26698.qmail@hotmail.com>
From: "Esteban Dersidellio" <esteban59 AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: Help please
Date: Sun, 26 Jul 1998 01:34:13 PDT

.


 Hi there, I'm having some problems trying to run, compile ?, a program.

 I do have to say that I don't know practically nothing related to 
programming, this the first compiler that I have in my life.

 I followed all the instructions towards the correct installation of the 
Djgpp compiler, but it seems somethings' missing or I'm too dumb to 
install it the right way.

 I'm in the process of learning C, reading the 'Coronado Enterprises C 
TUTOR (ver 2.00)', maybe it's a little outdated, because, trying to run 
the most basic; at least I belive it's; program for C, the 'hello world' 
one, I get this Error Message : 


 C:\djgpp\bin>gxx test.c -o test.exe -lm
gxx.exe: installation problem, cannot exec `cpp': No such file or 
directory (ENO
ENT)




   To invoke the programm, I followed the instructions in the 
'Installation Web Site' :


                  -=-  gcc myfile.c -o myfile.exe -lm -=-


   Meaning that I typed the following into notepad :


main()
{
   printf("Hello, World.");
}


   Save that text file into the djgpp directory, and rename the file 
extension to '.c', instead of '.txt'.

   Please help me, what I'm doing wrong ?.

   I read all the FAQ file, but nothing seems to work. BTW, I do have 
all the necessary zipped files to run properly the compiler.



                   -=-        bnu27b(1).zip

                   -=-        djdev201(2).zip

                   -=-        gpp281b(2).zip

                   -=-        faq210b(2).zip

                   -=-        mak3761b(2).zip

                   -=-        lgp2811b(1).zip



   All of them unziped to the C:/djgpp directory.


   TIA, Esteban.



---GO32-V2 OUTPUT---

C:\djgpp>go32-v2
go32/v2 version 2.0 built Aug 12 1996 22:27:23
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries 
as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your 
PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 25703 Kb
DPMI swap space available: 4105 Kb




---AUTOEXEC.BAT---

rem - By Windows Setup - C:\WINDOWS\COMMAND\MSCDEX.EXE /D:SSCD000 /M:10
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb la,,C:\WINDOWS\COMMAND\keyboard.sys
C:\WINDOWS\SYSTEM\sndtune.exe
PATH C:\BITWARE\
SET PGPPATH=C:\PGP
SET TZ=EST8EDT
set DJGPP=C:\DJGPP\DJGPP.ENV
set PATH=C:\DJGPP\BIN;%PATH%




---CONFIG.SYS---

DEVICE=\SAMSUNG\SSCDROM.SYS /D:SSCD000
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=052,850,C:\WINDOWS\COMMAND\country.sys

 
---ERROR MESSAGE No 1---

C:\djgpp>GXX
c:/djgpp/bin/crtf.o: file not recognized: File truncated



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

- Raw text -


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