Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-05

fpc searchpath for ppc386

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bob Barry

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

Reply by email