From: Bob D. <bd...@si...> - 2003-12-13 15:48:38
|
Hi, I think the patch looks good.. I dunno anything about debian... I'm gonna ask one of my Debian friends to have a looksies..... I think what I'm going to do is make a rlib/distros dir and off of that have debian, redhat.. ect for the package files.. A WIN32 port would kick ass and would be most appreciated.. however RLIB is in the process of undergoing a glib migration So we don't need to do this stuff # define DLLFUNC _declspec(dllexport) # define dlopen(x,y) LoadLibrary(x) It's on my immediate TODO list.. unless you wanna do it Basically we need to change the datatypes to the g[whatevers] and need to change dlloading to http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html And utf8 stuff to glib stuff And that should take care of 99% of the "port" What do you think? P.S.. you might want to work w/ rlib anon cvs - Bob On Sat, 2003-12-13 at 10:21, Mario Teijeiro Otero wrote: > Hello, > > I'm not a debian developer, but I build the direcoty "debian" for rlib-1.1.5. > > For build it, it is necesary apply a patch that I sent to Bob Doean three days > ago. > > The list of packages that generate from source es: > > rlib_1.1.5-1_i386.deb > rlib-dev_1.1.5-1_all.deb > rlib-mysql_1.1.5-1_i386.deb > rlib-odbc_1.1.5-1_i386.deb > rlib-pg_1.1.5-1_i386.deb > rlib-php_1.1.5-1_i386.deb > rlib-python_1.1.5-1_i386.deb > . > > On the other hand, Did try someone port rlib to Win32 platform? I'm tring it > and I near obtaining it. Basically it consists of put #defines: > > #ifdef HAVE_UNISTD_H > #include <unistd.h> > #endif > #ifdef WIN32 > # include <windows.h> > # define DLLFUNC _declspec(dllexport) > # define dlopen(x,y) LoadLibrary(x) > # define dlclose FreeLibrary > # define dlsym(x,y,z) z = (void *)GetProcAddress(x,y) > # define LLONG __int64 > # define strcasecmp(x,y) strcmpi(x,y) > # define bzero(p,s) memset(p,0,s) > #else > # include <dlfcn.h> > # define LLONG long long > #endif > > etc..., > > Are you interesting to port it to win32?. I'am doing but I need a platform of > reports that works on Linux and Win32. > > Regards. > |