Interesting switch in FPC 2.1.1:
-Sk load fpcylix unit
what is it for?

Mailing lists / fpc-devel / 2005-11
11 messages · 7 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Interesting switch in FPC 2.1.1:
-Sk load fpcylix unit
what is it for?
Afaik it implicitely USES the fpcylix unit that contains some identifiers for Kylix compat that we _really_ didn't want in the normal system/sysutils unit.
where can i find it ?
~/fpc>>> find . -name 'fpcylix.pp'
./rtl/linux/fpcylix.pp
where can i find it ?
http://svn.freepascal.org/svn/fpc/trunk/rtl/linux/fpcylix.pp
Vincent.
Afaik it implicitely USES the fpcylix unit that contains some identifiers for Kylix…
BTW, looking at the current implementation - shouldn't GetModuleName be changed to return name part of ParamStr (0) (without path and extension), and GetModuleFileName the complete ParamStr (0)?
Tomas
No, the situation is more complex, that's not implemented yet.
Afaik it implicitely USES the fpcylix unit that contains some identifiers for Kylix…
Is FPC able to compile Kylix forms (*.xfm) now?
Yes, using an external resource compiler.
It will embed .xfm, .dfm and .res files.
But you'll still need an .rc -> .res compiler for icons, bitmaps etc.
Michael.
Is FPC able to compile Kylix forms (*.xfm) now?
Forms are something of a higher level than FPC. They are compiled by an (external) resourcecompiler and then stored as a resource in a file.
However for CrossFPC's sake, resourcehandling has been made more compatible, but I assume one still needs a resourcecompiler for this.
Yes, using an external resource compiler. It will embed .xfm, .dfm and .res files. But…
Is it automated in CrossFCP?