Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-07

Some questions about fpc.cfg

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

josepascual

Hi Everyone,

How can I used #IFDEF to check which is the Fpc Release (something like #IFDEF FPC_RELEASE=4)?
I have several version of fpc (2.1.4, 2.1.5, 2.3.1) and fpc.cfg is different in each case.
how can I check it?

or, Is there any form to use a #IFDEF in fpc.cfg if compiler where build with CfSOFT or other/s option
in order to choose with -Fl different libraries to link?

thank you,

Jose Pascual

Reply by email

josepascual
to josepascual

Hi *,

Where can I find information about DEFINES I can use in Fpc.Cfg?

thanks,

Jose Pascual

Show quoted text 33 lines
-----Mensaje original----- De: [mailto:fpc-pascal- En nombre de josepascual Enviado el: lunes, 16 de julio de 2007 19:39 Para: 'FPC-Pascal users discussions' Asunto: [fpc-pascal] Some questions about fpc.cfg Hi Everyone, How can I used #IFDEF to check which is the Fpc Release (something like #IFDEF FPC_RELEASE=4)? I have several version of fpc (2.1.4, 2.1.5, 2.3.1) and fpc.cfg is different in each case. how can I check it? or, Is there any form to use a #IFDEF in fpc.cfg if compiler where build with CfSOFT or other/s option in order to choose with -Fl different libraries to link? thank you, Jose Pascual _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal __________ Informacisn de NOD32, revisisn 2400 (20070716) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com

Reply by email

Marco van de Voort
to Michael Van Canneyt: In the user's and programmer's manuals. The defines in the FPC.CFG are the same as the…
Show quoted text 9 lines
On Wed, 18 Jul 2007, josepascual wrote: > Hi *, > > Where can I find information about DEFINES I can use in Fpc.Cfg? In the user's and programmer's manuals. The defines in the FPC.CFG are the same as the ones in the sources.

The buildfaq has some more examples, most about crosscompiling. (or maybe they have been absorbed in the manual by now)

http://www.stack.nl/~marcov/buildfaq.pdf

Reply by email

josepascual
to Michael Van Canneyt: In the user's and programmer's manuals. The defines in the FPC.CFG are the same as the…

Thanks,

I have created a -dMYDEFINE in command line of ppc and I check it in Fpc.cfg in order to complete rest of options.
It's really interesting when It's necessary to use different version of binutils and in other cases also.

Jose Pascual

Show quoted text 28 lines
-----Mensaje original----- De: [mailto:fpc-pascal- En nombre de Michael Van Canneyt Enviado el: miércoles, 18 de julio de 2007 11:27 Para: FPC-Pascal users discussions Asunto: RE: [fpc-pascal] Some questions about fpc.cfg On Wed, 18 Jul 2007, josepascual wrote: > Hi *, > > Where can I find information about DEFINES I can use in Fpc.Cfg? In the user's and programmer's manuals. The defines in the FPC.CFG are the same as the ones in the sources. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal __________ Informacisn de NOD32, revisisn 2404 (20070717) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com

Reply by email