From: Dan S <ki...@ya...> - 2006-12-20 20:07:54
|
Today's update:=0A=0AI have been able to build and run the library=0Awith t= he lunar.c example code. It appears to run successfully. (It was=0Acloudy = here last night and I was not able to compare lunar disk=0Avisibility in th= e sky but the US Naval Observatory website agreed with=0Athe lunar disk vis= ibility). I am now waiting on my administrator to=0Ainstall libnova on the= linux (debian) server I use. I can't wait to=0Adiff the output of both. = Once all the examples are tested I'm going to=0Aclean my code and would lik= e to submit it. One great positive is that=0AI have been able to run it wi= th the managed code (.net 2.0) option=0Aon. There was a noticeable differe= nce in performance but can be=0Areviewed later.=0A=0AI expect to have more = results to report by Dec 23.=0A=0A-Dan=0A=0A----- Original Message ----=0AF= rom: Dan S <ki...@ya...>=0ATo: nov...@li...= =0ASent: Tuesday, December 19, 2006 5:06:42 PM=0ASubject: Re: [Nova-develop= er] Win32 Port=0A=0AFirst it seems that fatigue was hitting me when I said = I couldn't find libnova.h, it is there as expected.=0A=0ASecond, I have bee= n able to build the library in Visual Studio 2005 C++ :). As much as I wan= t to test the build I haven't been able to make the time yet but I plan to = have some time very soon.=0A=0AThird, once I'm ready to start submitting co= de to the CVS repository I would like to add 2 source and 2 header file, "l= ibnova_win" and "libnova_c89". It will contain the c89 and win32 replacemen= ts to the posix and c99 math functions. This brings up two issues: 1, it i= s possible to make the library completely c89 compliant; 2, it is possible = to replace all the non reentrant functions, in the windows port, with ones = that are through the extensions provided by Posix (for the linux version) a= nd Win32. The current code can be replaced with the Posix ones and I can d= efine the Win32 equivalent to substitute the identifiers (ie #define strtok= _r strtok_s).=0A=0AFourth, via define's i've seen Win32 and __Win32__ I wo= uld propose we make it __LN__WIN32__ and __LN_C89__ .=0A=0ASorry about the = quick reply short on time in the moment.=0A=0A-Dan=0A=0A----- Original Mess= age ----=0AFrom: Petr Kubanek <pe...@ku...>=0ATo: Dan S <kinglag@yahoo= .com>=0ACc: nov...@li...=0ASent: Monday, December 1= 8, 2006 5:55:04 PM=0ASubject: Re: [Nova-developer] Win32 Port=0A=0AMon, Dec= 18, 2006 at 01:47:41PM -0800 - Dan S:=0A> Nova Developers,=0A> =0A> I have= been looking at the code to make a Windows compatible version.=0A> So far = the problems I've encountered is replacing the Posix time=0A> library, and = the c99 functions. After make ing the library on Linux I=0A> also noticed = that a sort of meta-header file was automatically created=0A> libnova.h. I= t looks like I'll have to manually create that. Someone=0A> did suggest us= ing Cygwin to support the Posix part of the library,=0A> however I wanted t= o avoid that so anyone who uses the library on=0A> Windows will not need an= other dll.=0A=0AI think that those changes, using ifdefs, will be gladly we= lcome. I=0Acannot test them, but if they will not break Linux build, I can = commit=0Athem.=0A=0ABut libnova.h is NOT created, it's in CVS and should be= in tar.gz. Can=0Ayou send any hint why you think it's created?=0A=0A> Also= I am wondering if there is any test code that could be used to=0A> verify = the library after my changes.=0A=0A./lntest/lntest=0A=0APetr=0A=0A=0A=0A=0A= __________________________________________________=0ADo You Yahoo!?=0ATired= of spam? Yahoo! Mail has the best spam protection around =0Ahttp://mail.y= ahoo.com =0A=0A------------------------------------------------------------= -------------=0ATake Surveys. Earn Cash. Influence the Future of IT=0AJoin = SourceForge.net's Techsay panel and you'll get the chance to share your=0Ao= pinions on IT & business topics through brief surveys - and earn cash=0Ahtt= p://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V=0A_______________________________________________=0ANova-developer mailin= g list=0AN...@li...=0Ahttps://lists.sourceforge.n= et/lists/listinfo/nova-developer=0A=0A=0A=0A=0A____________________________= ______________________=0ADo You Yahoo!?=0ATired of spam? Yahoo! Mail has t= he best spam protection around =0Ahttp://mail.yahoo.com |