"Dmitry S. Luhtionov" wrote:
This message has been displayed when i try build gpc-19990813.tar.gz
OS: FreeBSD 3.2
# make `echo gcc | sed 's/gcc/gpc/'` -c -I. -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -O2 -DBSD_RTS=0 `if [ x = xyes ] ; then echo -fPIC; fi` --unit-path= --automake files.pas files.pas: In function `Sleepmicroseconds': files.pas:257: argument does not match conformant array formal parameter files.pas:257: incompatible type for argument 1 of `Ioselect' files.pas:257: argument does not match conformant array formal parameter files.pas:257: too few arguments to function `Ioselect' files.pas: In function `Stringtfdd_rewrite': files.pas:310: assignment from incompatible pointer type *** Error code 1
The problem is (I suppose) that an older installed gpc (`echo gcc | sed 's/gcc/gpc/'`) is used to build the RTS rather than the GPC just created. This cannot work since the RTS relies on the latest compiler features.
Did you specify any configure or make options (like GCC_FOR_TARGET) or environment variables? If so, try without them.
Frank