According to Jim Roland:
Thanks for the help. I got a successful compile now (no errors), however, when I run the program i compiled (with gcc cgi-postsplit.pas -o cgi-postsplit),
You mean `gpc cgi-postsplit.pas -o cgi-postsplit'?
I get a bash error telling me the file is not there.
Please try the following:
* Make sure that this is no trivial error, for instance the executable is in the current directory, but the current directory is not in your path. (This is - or should be - the case when you are working as `root' (which you shouldn't do anyway.;-)) To check it, try `./postsplit' instead of just `postsplit'.
* Use GPC only to compile, but link with GCC: `gpc -c postsplit.pas'; `gcc postsplit.o -o postsplit'.
* If this does not help, add the `-v' option to your call to `gpc' and post the result here: `gpc cgi-postsplit.pas -v -o cgi-postsplit'.
BTW, what system do you use? Linux probably (from your signature), but we must be sure about this in order to offer any help.
I tried running configure and make (even a make distclean before i started) and I get an error 126 on ../gcc-2.7.2.2/specs! Thoughts?
No idea, sorry. :-(
Right now (I don't know what happened to cause this not to work nor compile properly), but now I can't compile a program. A simple program that assigns a string to S and writeln's it out doesn't error on compile, but runs w/o output (test.pas). [...]
As you can imagine, my GPC has no problem with this.
Good luck,
Peter -- Peter Gerwinski, Essen, Germany, free physicist and programmer Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997 PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75 Fight the SPAM! - http://maps.vix.com/