On Mon, February 17, 2014 21:02, patspiper wrote: > On 17/02/14 21:41, Sven Barth wrote: >> On 17.02.2014 17:56, patspiper wrote: >>> On a side note, for 2.7.1, 'fpc -h' shows the -V and -Xp options >>> whereas >>> 'fpc' alone (requires the pressing of <enter> to view successive pages) >>> does not. >> >> Are you sure that fpc is picking up the correct ppcX (help output is >> always generated by the ppcX)? Because for me it works. > > Unless I am doing something foolish, I am getting these results: > > /home/me/Programs/fpc/2.7.1/bin/fpc > -Xp/home/me/Programs/fpc/2.7.1/lib/fpc/2.7.1 -h > shows -V and -Xp > > /home/me/Programs/fpc/2.7.1/bin/fpc > -Xp/home/me/Programs/fpc/2.7.1/lib/fpc/2.7.1 > No -V and -Xp > > /home/me/Programs/fpc/2.7.1/lib/fpc/2.7.1/ppc386 -h > No -V and -Xp > > /home/me/Programs/fpc/2.7.1/lib/fpc/2.7.1/ppc386 > No -V and -Xp > > In all cases, 'Free Pascal Compiler version 2.7.1 [2014/02/08] for i386' > is shown at the top of the help.
I haven't checked it yet, but I suspect that I hadn't tested the behaviour under any Unix platform when adding the hack for displaying the fpc-specific options by ppcX if and only if invoked by the fpc wrapper. It might be that my solution doesn't work reliably under Unix. I'll have a look at it and possibly try to fix it. Tomas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
