* Moved (from: gpc) by Berend de Boer using timEd 1.10.b3+.
Peter Gerwinski wrote in a message to Berend de Boer:
PG> I tried to use Extended Pascal "binding" to assign a file
PG> variable to an external -- existing -- file. I just copied
PG> the "Assign" pro- cedure by Berend as published in
PG> borland2ep.doc. It does not always work: I often get a
PG> runtime error saying that the file did not exist.
If you can repeat it, compile with another Extended Pascal compiler, for …
[View More]example Prospero's one. If that fails too, there is really something wrong with the code. But I suspect gpc. You're using which OS?
Groetjes,
Berend (-:
fido: 2:281/527.23
email: berend(a)beard.nest.nl
[View Less]
Hi,
I still can't seem to be able to build gpc for HP-UX 10.20.
I tried all three available versions 19990118, 19990409, 19990607
and for each I get the same error:
../../xgpc -B../../ -c -I. -Wall -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -O2 -g -O2 -DBSD_RTS=0 `if [ x@with_shared@ = xyes ] ;
then echo -fPIC; fi` --unit-path=/ece2/eeof/egcs-1.1.2/gcc/p/rts --automake
/ece2/eeof/egcs-1.1.2/gcc/p/rts/files.pas
/ece2/eeof/egcs-1.1.2/gcc/p/rts/files.pas: In function `Ioselect':…
[View More]
/ece2/eeof/egcs-1.1.2/gcc/p/rts/files.pas:162: internal error--unrecognizable
insn:
(insn 288 285 290 (set (zero_extract:SI (reg:SI 223)
(const_int 32)
(const_int 0))
(reg:SI 222)) -1 (insn_list 285 (insn_list 287 (nil)))
(expr_list:REG_DEAD (reg:SI 222)
(nil)))
../../../egcs-1.1.2/gcc/p/../toplev.c:1385: Internal compiler error in function
fatal_insn
make[3]: *** [files.o] Error 1
make[3]: Leaving directory `/ece2/eeof/gcc/gcc/p/rts'
make[2]: *** [pascal.rts] Error 2
make[2]: Leaving directory `/ece2/eeof/gcc/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/ece2/eeof/gcc/gcc'
make: *** [bootstrap] Error 2
Anyone else had this problem? Is it a known limitation? (I'm not saying bug...)
Has anyone successfully built gpc on HP-UX?
Please cc me,
Thanks,
Dimitrios.
[View Less]
I work with the .pas in c:\progs, and I have the following paths by
the way:
Include: c:\djgpp\include (Can I put here c:\progs ?)
Libraries: c:\djgpp\lib
Object c:\progs\obj
Source c:\progs
Standard Headers c:\djgpp\include (I have my doubts on this one,
what is the purpose of this path?)
Main target c:\progs\whatever.exe
Primary file ? what is the purpose of this one?
When I compile the files, rhide put the *.o files in …
[View More]the
c:\djgpp\bin, so what's the matter with the Object path?
Thanks for your patience, and help.
Alejandro Villarroel
[View Less]
Some weeks ago, I installed GPC-DJGPP for DOS, I began to read the
text files, but I didn't find where to install the compressed files, so
I create the dir gpc\bin \lib \include \unit, obviuosly I had many
problems. With the help of Peter, I try to force to work,. I decided to
restart, I take all the compressed files, and due the have the "same"
directory structure (bin, lib, doc, ...) I decide to mix up all the
compressed files. But when I used rhide to compile a file and It ask me
for some …
[View More]files, these files are:
1 .lib\gcc-lib\djgpp\2.81 gpc-cpp.exe and gpc1.exe
2. (uses gpc,gmp;) lib\gcc-lib\2.81 gpc.pas and gmp.pas
3. lib\ crt0.o
When I copied these files into the bin directory, rhide build the
exe file.
By the way the compressed files that I mixed up are:
RX15B <DIR> 02/07/99 2:03p rx15b
README 533 03/05/99 12:01a README
RHIDE14B <DIR> 02/07/99 2:03p rhide14b
GRX23RME 1ST 3,920 02/05/99 8:02p grx23rme.1st
MAK377B <DIR> 02/07/99 2:03p mak377b
GRX23FNT <DIR> 02/07/99 2:03p grx23fnt
GMP202B <DIR> 02/07/99 2:02p gmp202b
GDB416B <DIR> 02/07/99 2:02p gdb416b
GCC281B <DIR> 02/07/99 2:01p gcc281b
FAQ211B <DIR> 02/07/99 2:01p faq211b
DJDEV202 <DIR> 02/07/99 2:01p djdev202
CURSE23B <DIR> 02/07/99 2:00p curse23b
BNU281B <DIR> 02/07/99 2:00p bnu281b
FILE TXT 0 11/08/99 11:02a file.txt
GRX23 <DIR> 02/07/99 2:02p grx23
GPC20BB <DIR> 02/07/99 2:02p gpc20bb
DJ202DIF <DIR> 02/07/99 2:01p dj202dif
BCCGRX20 <DIR> 02/07/99 2:00p bccgrx20
What I have to do?
[View Less]
I came across some operators in the docs that are not specified in either
Extended or Standard pascal (if they are, what section?). They are:
*< /< *> /> +< -<
+> ->
What the heck do these do??? Also, am I right with the following:
& Resolve a pointer reference
@ Return a pointer to a variable, function, etc...
TNX
Ken Linder
http://kc7rad.lvcm.com/
I can not recompile with -pipe even most supplied modules ! Is it gpc
[mis]feature or I'm messed somewhere ?
-- cut --
$ gpc -pipe crt.pas
crt.pas:238: pointer domain type `Harattr' undefined
crt.pas:238: pointer domain type `Harattrs' undefined
crt.pas:382: pointer domain type `Te' undefined
crt.pas: In function `Makewin':
crt.pas:713: parse error before `End'
crt.pas:713: missing `)'
crt.pas: In function `Restorewin':
crt.pas:733: parse error before `Freemem'
crt.pas:733: missing `)'
crt.pas:…
[View More]733: parse error before `Freemem'
crt.pas: In function `Writebuf':
crt.pas:755: parse error before `)'
crt.pas:755: extra comma
crt.pas:755: too few arguments to function `Crt_write'
crt.pas: In function `Readbuf':
crt.pas:761: parse error before `)'
crt.pas:761: extra comma
crt.pas:761: too few arguments to function `Crt_read'
$ gpc -v
Reading specs from /usr/lib/gcc-lib/i586-ksi-linux/2.95/specs
gpc version 19990510, based on 2.95 19990728 (release)
-- cut --
Hmm. Version 19990510 even if archive was numbered as 19990607 ... Weird...
[View Less]
Ok I downloaded the file, unpacked into a directory wingw32.
However, you said after that everything would be fine, and I
dont think it is. I am still confused as to how to get this
program to actually run/compile code that I write in a text
editor.
Whats a "Comand line compiler?"
Markus Gerwinski wrote:
>
> Hello, Kevin!
>
> > Would you have any advice for someone like myself to make the
> > downloading and installation process I little more manageable.
>
> …
[View More]First of all choose the distribution you want to download. The current
> Windows version of gpc is in
>
> ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/binary/gpc-19990118-egcs-1+.1.1.i386-pc-mingw32.zip
>
> Create a directory "mingw32" on C: (or on whatever drive you want to install
> gpc), and unpack the archive file into this directory. After that,
> everything should be fine.
>
>
> Up to now, there is not a gpc IDE for Windows, so you'll have to work with a
> text editor and a command line compiler. But watch out for a new
> all-platform IDE named PENG, which soon shall be released.
>
> If there are still problems, I recommend to post them to the GPC mailing
> list (gpc(a)gnu.de).
>
> Hope this helps
>
> Markus
[View Less]