[fpc-pascal]gpm library compiled by default ?

James Mills prologic at daisy.ods.org
Thu Oct 23 23:51:04 CEST 2003


On Thu, Oct 23, 2003 at 09:16:19AM +0200, Marco van de Voort wrote:
> > On Wed, Oct 22, 2003 at 10:53:51PM +0200, Michalis Kamburelis wrote:
> > > Maybe you're using the Keyboard unit ? This unit uses Mouse in it's
> > > implementation, and by default unit Mouse uses Gpm unit (that links to
> > > libgpm). If you don't want to depend on libgpm you can recompile Mouse
> > > with symbol NOGPM defined (or even with NOMOUSE defined since you don't
> > > use mouse at all).
> > 
> > I think I do use the KeyBoard unit. So I could compile it with fpc
> > -dNOMOUSE ?
> 
> Yes. Under FreeBSD this is default even.

Compiling with this option makes no difference. It will still compile
and require the gpm library.

Any other suggestion ? IHMO, A console app that just uses the KeyBoard
should not need the gpm library in it's binary :)

cheers
James

-- 
-Zero Defect Software Engineers Group - ZDSEG
-
-Web:  http://daisy.ods.org/
-Wiki: http://daisy.ods.org/~prologic/wiki/
-ICQ:  98888663
-
-You need only two tools. WD-40 and duct tape.
-If it doesn't move and it should, use WD-40.
-If it moves and shouldn't, use the tape.




More information about the fpc-pascal mailing list