Re: [sleuthkit-developers] win32 live bugs?
Brought to you by:
carrier
From: Michael C. <scu...@gm...> - 2008-07-22 00:47:56
|
Brian, Would there be any interest in sharing the gcc produced binaries which can be easily cross compiled form the main source distribution. These are static and dont use MFC at all and are very small - they use mingw-gcc and run natively with no dlls required. Michael. On Tue, Jul 22, 2008 at 6:37 AM, Brian Carrier <ca...@sl...> wrote: > > On Jul 21, 2008, at 4:20 PM, Darren Bilby wrote: > >> Thanks for taking a look at this, replies inline. >> >> Darren. >> >> On Mon, Jul 21, 2008 at 6:37 PM, Brian Carrier >> <ca...@sl...> wrote: >>> >>> Ok, I'll add a variation of this in, but only if the path has the >>> form of >>> "\\.\?:" because I don't want random WRITE opens occurring for >>> image files. >> >> Note that the FILE_SHARE_WRITE designation doesn't open the file for >> writing, it designates how others should be able to access it, but >> this seems sensible anyway. >> http://msdn.microsoft.com/en-us/library/aa363874(VS.85).aspx >> http://blogs.msdn.com/larryosterman/archive/2004/05/13/131263.aspx > > Ahh, even better. I had forgotten what each of the arguments to > CreateFile meant. > > >>> >>>> 3. When recompiling with VS 2005 i get some errors on execution on >>>> some hosts due to wrong versions of the msvc libs. Is there any >>>> reason >>>> we don't compile these libs in statically by default? given the >>>> use of >>>> these binaries it seems sensible and it only marginally affects the >>>> size. >>> >>> Can you compile them in statically? I didn't think you could. >> >> I figured it should be possible so went looking and found "Use of >> MFC" under: >> Project Properties -> Configuration Properties -> General -> Use of >> MFC >> Setting that to "Use MFC in a Static Library" for each sleuthkit >> project and recompiling it appears to work perfectly. >> Searching after the fact I found: >> http://msdn.microsoft.com/en-us/library/ms235264(VS.80).aspx >> http://msdn.microsoft.com/en-us/library/ms235316(VS.80).aspx >> Which advises against it, but I don't see any of the downsides being >> applicable in this instance. >> I did this under VC++ Express 2k8, but seems like it should work on >> any VS. > > If there is a large desire to do this, I will consider it more, but > if you are building your own executables then you probably should be > using the MFC dlls from your compiler and not using the ones that I > ship with the pre-built executables (which could be a different > version). > > thanks, > brian > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > sleuthkit-developers mailing list > sle...@li... > https://lists.sourceforge.net/lists/listinfo/sleuthkit-developers > |