Re: [Planner Dev] Porting to Windows
- From: Richard Hult <richard imendio com>
- To: Planner Dev <planner-dev lists imendio com>
- Subject: Re: [Planner Dev] Porting to Windows
- Date: Mon, 26 Jul 2004 19:00:35 +0200
On mån, 2004-07-26 at 19:55 +0300, Jani tiainen wrote:
> 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...
Well, splitting out just a few functions feels like a hack to me :) We
could make a small lib consisting of planner-window, planner-plugin, and
planner-view. If there is no other way to solve the problem, we should
probably go that way.
Thanks a lot for looking into this.
/Richard
--
Imendio HB, http://www.imendio.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]