www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/29/18:57:24

Date: Thu, 29 Jul 93 15:03:33 -0700
From: "Michael S Shipman" <shipmanm AT cs DOT arizona DOT edu>
To: djgpp AT sun DOT soe DOT clarkson DOT edu

HELLO! 

I want to first thank everybody who had help me to get my C-compiler for
msdos to work.  Thank you.  

I, however, still have problem--a different one:

I have a program called hello.c

#include<stdio.h>

main () {

printf("hello world\n");

}

I then typed:

gcc hello.c -o hello
 

I got a message:

Fatal! Application attempted to use not-present 80387!
Floating point opcode at virtual address 0x00056682
coprocessor not avaible at eip=556682
call frame traceback EIPS:
   0x0005bb82
   0x0005b5e0
   0x00023126
   0x000259a1

Does anybody understand?  (I don't)

I have msdos 6  and using ftp ftp.clarkson.edu,  I got bnu22bn.zip,
bnu22dc.zip, bnu22bn-coff.zip (bnu22bn-.zip), djdev110.zip, gas211bn.zip,
gas211dc.zip, gcc241bn.zip, and gcc241dc.zip.

As readme said, I used pkunzip -d -o filename(above listed)

I have now bin, cplusine, diffs, docs, drivers, emu387, include, lib, 
readme.1st, and samples.  (All in c:\djgpp, I also made c:\tmp)


I also tried " gcc -o file filename.c"  and "gcc -v filename.c -o file"
My computer didn't like it either.  

In config.sys I added
files=30
shell=c:\command.comn c:\ /e600 /p

In autoexe.bat I added
set COMPILER_PATH=c:/djgpp/bin
set C_INCLUDE_PATH=c:/djgpp/include
set OBJ_INCLUDE_PATH=c:/djgpp/inlcude
set LIBRARY_PATH=C:/djgpp/lib
set TMPDIR=c:/tmp
set GO32TMP=c:/tmp
                                  
and yes, I added path c:\DOS;c:\something;c\djgpp\bin
                                          ^^^^^^^^^^^
(
Using Kermit:  (transfer a file from caslon at UofA to home PC)

In my PC I typed:
kermit
set port com2
set baud 2400
con

(I then dialed)

kermit
set send pack 1000
set block-check 3
set file type binary
server

set rec pack 1000
set block-check 3
set file type binary
get <filename>       (loading)
finish
con
)

I hope somebody can solve the problem for me.  THANK YOU A LOT!!!!


Shipman


 

  

- Raw text -


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