Hello,
I am using S.u.S.E 6.2 but wanted to try the Regular Expresions in Pascal. So I de-installed the S.u.S.E version and downloaded a binary and installed it. However when I enter: gpc -v I get the following message:
bash-2.03# gpc -v GPC wrapper script, created by install-gpc-binary Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.60/sp gpc version 19990118, based on egcs-2.91.60 19981201 (egcs-1.1.1 release) ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.1 /usr/lib/crt1.o /usr/lib/crti 6-pc-linux-gnulibc1/egcs-2.91.60/crtbegin.o -L /usr/local/lib/gcc-lib/i586-pc-li usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.60 -L/usr/local/lib/gcc-l s-2.91.60 -L/usr/local/lib -lgpc -lm -lgcc -lc -lgcc /usr/local/lib/gcc-lib/i586 60/crtend.o /usr/lib/crtn.o /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
Any suggestion as to what I could do to eliminate the "undefinded reference to main" message?
I have been using Borland Pascal for the last ten years (mostly maintenance work as opposed to development) and therefore am curious as to how GPC functions as compared to Borland, i.e. what are the TPU, TPP, TPW equivalents in GPC and how are they linked in? If this is explained in some part to the documentation just point me in that direction.
mfG,
Larry