Hi, I have just installed gpc-19990118.i386-pc-djgppv201.zip and try to compile a program designed for VMS (VAX) or CMS (IBM) operative systems. I will appreciate some help, it seems to be a configuration problem, and I am new with Pascal and GNU Pascal. autocor.pas: In function `Add': autocor.pas:311: warning: constructing limited integer set `0..255' autocor.pas:313: warning: constructing limited integer set `0..255' autocor.pas: In function `Sub': autocor.pas:320: warning: constructing limited integer set `0..255' autocor.pas:322: warning: constructing limited integer set `0..255' autocor.pas: In function `Ajoute': autocor.pas:329: warning: constructing limited integer set `0..255' autocor.pas: In function `Enleve': autocor.pas:336: warning: constructing limited integer set `0..255' autocor.pas: In function `Initbit': autocor.pas:1602: warning: constructing limited integer set `0..255' c:/djgpp/tmp\ccdaaaaa: Assembler messages: c:/djgpp/tmp\ccdaaaaa:17201: Fatal error: C_EFCN symbol out of scope Thanks Leonardo A. Saravia - Programa de Invest. en Ecologia Matematica Universidad Nacional De Lujan - C.C. 221 - (6700) - Lujan - Argentina Tel: 54 2323 423171/421030 Fax: 54 2323 425975 e-mail: lsaravia@mail.retina.ar
Hi! Leonardo A. Saravia wrote:
I have just installed gpc-19990118.i386-pc-djgppv201.zip and try to compile a program designed for VMS (VAX) or CMS (IBM) operative systems. I will appreciate some help, it seems to be a configuration problem, and I am new with Pascal and GNU Pascal.
autocor.pas: In function `Add': autocor.pas:311: warning: constructing limited integer set `0..255'
These warnings are coming from sets like "[ i ]" where `i' is a variable of plain integer type. GPC cannot currently handle "set of Integer" and warns about the restriction of the valid scope for `i'. Maybe we should take out this warning - it is somewhat too verbose ...
c:/djgpp/tmp\ccdaaaaa: Assembler messages: c:/djgpp/tmp\ccdaaaaa:17201: Fatal error: C_EFCN symbol out of scope
This seems to be something specific to your system. I do not know which assembler you are using, but I know that GNU compilers sometimes have problems to work with binutils other than the GNU binutils. Playing with the optimization level and/or debugging information output can be helpful to work around that problem. :-/ Hope this helps at least a little, Peter -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 *** Vote against SPAM! ********* http://www.politik-digital.de/spam/ ***
participants (2)
-
Leonardo A. Saravia -
Peter Gerwinski