Bug#97796: gpc 'include file bug'
Package: gpc-2.95
Version: 19991030, based on 2.95.2 20000220
Hi,
It seems that instruction '#include anyfile' only works on first invocation.
Here is the simplest thing I did which fails :
cd /tmp
mkdir inc
touch inc/h1.def
touch inc/h2.def
cat > htest.p
program ht(input,output);
#include "h1.def"
#include "h2.def"
begin
writeln("hello");
end.
CTRL-D
When I compile with:
gpc -I/tmp/inc -o htest htest.p
or with :
gpc -I/tmp/inc -lchill -o htest htest.p **see #47453
it returns :
htest.p:4: h2.def: No such file or directory
-- System information
Potato
Linux version 2.2.14
gcc version 2.95.2 19991103
Architecture: i386
ii libc6 2.1.3-13
ii gpc 2.95.2-13
ii gcc 2.95.2-13
Can you help ? - Thanks
-- C'est curieux chez les marins, ce besoin de faire des phrases (M.A.) --
Dr Fred JEAN - UMR CNRS 6539 / LEMAR / Univ. Bretagne Occidentale
Institut Universitaire Européen de la Mer. F-29280 PLOUZANE
Pho:+33 (0)2 98 49 86 38 // Fax:+33 (0)2 98 49 86 45
http://www.univ-brest.fr/IUEM/UMR6539/
Reply to: