On 9 Sep 2003 at 9:00, DOMINIQUE THILLAUD wrote:
Thanks to Tom and Adriaan, my compiler in in order on Mac OSX (but before trying to load the Developper Tools CD from USA1 and not from Europa, I was desesperate). Yet, other problems are coming...
- PATH problems
1a) I'm unable to execute the a.out (nor the hello if using -o) directly but must use the stupid ./a.out (or ./hello). Even if I redefine the variable PATH in ~/.tcshrc (adding to it the current directory .). Where lies the file who defines PATH ?
Depends on which shell you are using. But a quick way to do this from the command line is: export PATH=.:$PATH
1b) I construct some modules for toolboxes (like timer.p) or for abstract types (like lists.p) and I would like to put them in a genuine directory such that the compiler could find them from any other directory : how do it ?
With more recent gpc snapshots, use the "GPC_UNIT_PATH" environment variable - e.g., export GPC_UNIT_PATH=$HOME/foo:$HOME/bar:$HOME/pascal/blah
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/