Native win32 port of libX11 using MinGW - help pls
Jeetu Golani
jeetu.golani at gmail.com
Sat Mar 15 13:27:37 PDT 2008
Hey guys,
Just found this :
http://www.labf.com/xdk/port.html
It's a company that had an Xlib native port for windows.......it's
closed source binary though...I think X falls under the MIT license
right?? am not sure if the license allows them to close it or
not....just curious.
Anyways I don't want to use a closed library....also would like this
to be available to all in source form.....well at least I know once
again that it can be done and has been done.
Bye for now
On Sat, Mar 15, 2008 at 12:48 AM, Jeetu Golani <jeetu.golani at gmail.com> wrote:
> Hi all,
>
> Thanks Jamie for writing in...yup the links you've sent may just have
> some info I could use.
>
> For now what I'm doing is trying to apply the defines generated during
> a configure on linux i.e. the config.h generated to the source files
> and statically linking it to my test Xclient - earlier I was able to
> get the code to link and the Xclient to function within windows but it
> performed a little flaky - I needed to comment out a few lines within
> XOpenDisplay....it works with one Xserver but doesn't work with
> others...that sort of thing.....I'm guessing that the code execution
> path isn't complete because i hadn't given any of the defines so
> things like XCB never got compiled in......once I have something that
> works - the defines - then maybe I can work on writing my own makefile
> which generates a dll
>
> Any suggestions on which defines you think a Windows port should have
> would be great......more references to the win32 build environment
> which at one time existed (i think) would be great......will look into
> the Xming links too.
>
> Pl feel free to throw in any thoughts :)
>
> Bye for now
>
>
>
>
> On Fri, Mar 14, 2008 at 7:13 PM, Jamie Guinan <guinan at bluebutton.com> wrote:
> > On Fri, 14 Mar 2008, Jeetu Golani wrote:
> >
> > > Hi,
> > >
> > > Thanks for responding back....am at a hairs end trying to figure this out
> > >
> > > >>Do you know
> > >
> > > >>http://www.jcraft.com/weirdx/index.html
> > >
> > > Anders from what I understand this is a java X-server.....what i need
> > > is the client library. I'd also not prefer Java nor Cygwin for that
> > > matter because of speed. I'd like native code and I know it's been
> > > done before - probably in Release 6.9.0.
> > >
> > >
> > > >>Have you checked out Xming?
> > >
> > > >> http://sourceforge.net/projects/xming
> > >
> > > Jamie - yes, again this is an Xserver.....i don't think it has Xlib
> > > which is required only by clients from what i understand.....also the
> > > maintained of this project used to be Alexander Gottwald who in the
> > > end of 2004 has mentioned that he's added mingw support to
> > > libX11.....its just that I can't seem to find it.....it probably got
> > > taken off during the autoconf migration later or something like that.
> >
> > Hi,
> >
> > Yeah, I kinda realized after I replied, that you want to build mingw32
> > clients, not just run a server.
> >
> > The current maintainer [1] has some info here,
> >
> > http://www.straightrunning.com/XmingNotes/
> >
> > and patches here,
> >
> > http://www.straightrunning.com/XmingCode/
> > http://www.straightrunning.com/XmingCode/Xclients/
> >
> > I don't see any patches for "desktop" type apps there (widget sets),
> > but maybe some of the patches will be helpful to you.
> >
> > Regards,
> > -Jamie
> >
> > [1] See the "Support" section at the bottom of the page, he says
> > he has limited time for email support, and I totally understand
> > that. But you might want to check out his posts to this list,
> >
> > http://www.google.com/search?hl=en&safe=off&q=colin.harrison++site%3Alists.freedesktop.org%2F&btnG=Search
> >
> >
> >
> >
> > > As I said earlier.....I've made a test Xclient and tried compiling the
> > > C source files and statically linking the object files to it. The code
> > > works....however it doesn't function perfectly - will work on some
> > > xservers and won't on others.....I'm guessing all of that is because I
> > > do have any defines put in (the execution code path isn't
> > > optimal)........but this proves that the code itself runs under
> > > win32....just got to figure out the build environment.
> > >
> > > Would appreciate any pointers.
> > >
> > > Bye for now
> > >
> > > On Fri, Mar 14, 2008 at 2:27 AM, Jamie Guinan <guinan at bluebutton.com> wrote:
> > > > On Thu, 13 Mar 2008, Jeetu Golani wrote:
> > > >
> > > > > Hi everyone,
> > > > >
> > > > > I've been trying to port libX11 to win32 since I'd like to have
> > > > > xclients running natively under windows. I'd prefer not using Cygwin
> > > > > and to have this native.
> > > >
> > > > Have you checked out Xming?
> > > >
> > > > http://sourceforge.net/projects/xming
> > > >
> > > > Regards,
> > > > -Jamie
> > > >
> >
> >
> > > _______________________________________________
> > > xorg mailing list
> > > xorg at lists.freedesktop.org
> > > http://lists.freedesktop.org/mailman/listinfo/xorg
> > >
> >
>
More information about the xorg
mailing list