Wiki home
Editing page "
p2c
"
Base on previous version:
0
-
1786
-
1787
-
1788
# p2c is a Pascal to C translator wget -c [link]http://schneider.ncifcrf.gov/p2c/p2c-1.21alpha2.tar.gz[/link] mkdir -p p2c-1.21alpha2 cd p2c-1.21alpha2 tar -xzf ../p2c-1.21alpha2.tar.gz sed -i -e 's/#include <stdio\.h>/#define getline C_getline\n&\n#undef getline/;' src/trans.h # workaround for errors about redeclaring getline make HOMEDIR=/usr/lib/p2c INCDIR=/usr/include/p2c BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/share/man ABSHOMEDIR=/usr/lib/p2c ABSINCDIR=/usr/include/p2c make install HOMEDIR=/usr/lib/p2c INCDIR=/usr/include/p2c BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/share/man ABSHOMEDIR=/usr/lib/p2c ABSINCDIR=/usr/include/p2c
Change summary:
Tags allowed:
[pkg]name[/pkg]
Link to another package on the buildwiki by name
[link]URL[/link]
Link to an external page