Mike Neuhaus wrote:
The problem is - gtk has no list of "extern" - definitions in one(!) file in the header - directory...
If there is more than one `.h' file, it is no problem to integrate them all into one GPC unit. Or, you can write more than one unit - it does not matter. The `.h' structure and the unit structure are independent. Only when it comes to linking, all necessary object files must be present.
and the link-process of libgtk needs many compiler-commandline-switches (...or use of gtkconfig). [...]
:-/ ? How do they look like? Right now, we are working on a mechanism that will allow you to put those options into the source of the unit, so the program using the unit will not have to care about them. Peter -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980830 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/