[fpc-pascal] fpc searchpath for ppc386

Bob Barry bobb at absamail.co.za
Sat May 7 19:05:10 CEST 2005


Fpc from cvs compiled OK, but fpc cannot find ppc386.  I tried a few environment
variables, but none worked:
   asterix:bin> export PP=/usr/local/lib/fpc/1.9.9/ppc386
   asterix:bin> fpc -iV
   Error: ppc386 can't be executed, error message: Failed to execute ppc386 : 127
   asterix:bin> export PPC_EXEC_PATH=/usr/local/lib/fpc/1.9.9/ppc386
   asterix:bin> fpc -iV                                             
   Error: ppc386 can't be executed, error message: Failed to execute ppc386 : 127
   asterix:bin> export FPCDIR=/usr/local/lib/fpc/1.9.9
   asterix:bin> fpc -iV                               
   Error: ppc386 can't be executed, error message: Failed to execute ppc386 : 127

I created a link to a directory in the search path, and it works fine:
   asterix:bin> ln -s /usr/local/lib/fpc/1.9.9/ppc386 /usr/local/bin/ppc386
   asterix:bin> fpc -iV
   1.9.9
But should this be necessary?

Docs said that make would create an fpc.cfg file, but it did not.  I ran:
   /usr/local/lib/fpc/1.9.9/samplecfg /usr/local/lib/fpc/1.9.9 /etc
and it created a good-looking /etc/fpc.cfg, but it doesn't help fpc find ppc386.

Thanks,

Bob Barry




More information about the fpc-pascal mailing list