[fpc-pascal] selecting target processor
M.Santhoff at t-online.de
Mon Jun 20 09:59:56 CEST 2005
Am Sonntag, den 19.06.2005, 22:26 +0200 schrieb Jonas Maebe:
> On 19 Jun 2005, at 20:48, Marc Santhoff wrote:
> > how can I tell fpc to use only instructions supported on a specific
> > processor?
> > I'm compiling on an athlon for running on a geode (restriction has to
> > define instruction set from x686 to x586, I think).
> In theory, the code generated by FPC should always run on an i386
> (even if you use e.g. -Op3), unless you use some special command line
> switches I cannot find in the help. Other behaviour indicates a bug.
So it should work:
I'm using "-dRELEASE" for releasing and my fpg.cfg has standard "-OG2p3"
and "-Xs". Testing is done with "-XX -B".
> Can you figure out which instruction it is that causes this?
How would I do that? Would a saved core dump do? It seems to occur on
when redirecting stdout to a file, but I'm not sure yet.
More information about the fpc-pascal