www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/16/07:54:13

To: gieseke AT mathematik DOT uni-marburg DOT de (Georg Gieseke)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: pc.h & gppconio.h
Date: Mon, 16 Jan 95 14:00:59 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

> I am trying to port a program to djgpp, that runs successfully on many U*x 
> systems. The MSDOS-version can be compiled with BCC and uses conio.h
> functions. Unfortunately, when linking libpc.a, the program crashes with a
> segmentation fault and the debugger always claims  libpc.a functions
> to be the guilty party. 

Can you post the smallest program which exhibits this behavior?
Failing this (i.e., if only the entire program bombs), can you
post the function which calls conio library functions which
crash?

> MAybe I don'tt call the aprpriate initialiization function (gppconio_init()?).
> Where can I find further hints on pc.h , gppconio.h?
> Searching with info doesn't reveal any results.

You don't have to do anything special, AFAIK.
What DJGPP version do you use?  Are you sure you only have a
single go32.exe on your path which came with that DJGPP version?

- Raw text -


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