[fpc-pascal] FreeBSD and fpc messages.

fredvs fiens at hotmail.com
Mon Aug 17 15:53:25 CEST 2015


Hello everybody.

Many, many thank to help.

I have find the guilty. ;-)

This code, in fpc.cfg was the cause of the strange characters: =>

# path to the messagefile, not necessary anymore but can be used to override
# the default language
-Fr/usr/local/lib/fpc/$fpcversion/msg/errore.msg
-Fr/usr/local/lib/fpc/$fpcversion/msg/errorn.msg
-Fr/usr/local/lib/fpc/$fpcversion/msg/errores.msg
-Fr/usr/local/lib/fpc/$fpcversion/msg/errord.msg
-Fr/usr/local/lib/fpc/$fpcversion/msg/errorr.msg

After deleting this lines, messages are ok.

And about the mystery why it was working from link in /usr/local/bin ...

There was a fpc.cfg hidden inside /usr/local/lib/fpc/2,6,4,/

Iin this fpc.cfg, there was the guilty lines (see above).

And in /etc/fpc.cfg there was not those guilty lines.

So if using complete path to compiler, compiler use fpc.cfg that is in the
directory of ppcx64.
If using /usr/local/bin/ppcx64 => this one uses /etc/fpc.cfg (who does not
have the guilty lines) !.
And that explain why, in that case, the messages are ok.

I am very happy to have find the solution.

Thanks to everybody for helping.

Fred:



-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/FreeBSD-and-fpc-messages-tp5722248p5722297.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list