[Planner Dev] Porting to Windows



Well I've studied possibility to port Planner 0.12 to Windows platform by using Cygwin + Cygnome2.

It could be possible, but there is serious backlinking issues that makes lot of trouble.

Let me explain this particular problem:

Planner has plugins that are (dynamically) loaded to Planner in runtime. Plugins have some calls to functions that reside inside main executable.

In Linux this works okay, since Linux library loaders does symbolresolving in runtime, but in Windows world symbols must be solved at linking time.

This can be solved in Windows, but there is no support from libtool - you have to compile, link and generate all necessary files by hand.

In most cases it's enough to move those calls to external shared library that can be linked in those plugins. Since in my experience there is only handful of those calls (following I have encountered so far. I remember that there is two more...):

planner_plugin_get_type
planner_window_get_project
planner_window_get_ui_container

So if these functions could be moved to external shared library, it would make porting much much easier...

--

Jani Tiainen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]