[fpc-devel] New -Xg option in the last 9778 revision

Michael Van Canneyt michael at freepascal.org
Fri Jan 18 22:29:01 CET 2008



On Fri, 18 Jan 2008, Flávio Etrusco wrote:

> > > > That is partly true. The problem is that setting -Xs doesn't help if there is also -g in the
> > > > command line. So people think that the compiler strips the executable, but in fact the binary is
> > > > unstripped.
> > > >
> > >
> > > But why doesn't FPC spit a warning when these (seemingly conflicting)
> > > options are used?
> >
> > It silently switches off -Xs when debug info is selected.
> >
> > Michael.
> 
> Don't you think it should display a warning?

I can imagine some people do :-)

Michael.


More information about the fpc-devel mailing list