<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://karaoke.kjams.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guberif</id>
	<title>kJams Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://karaoke.kjams.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guberif"/>
	<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/wiki/Special:Contributions/Guberif"/>
	<updated>2026-06-09T06:35:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4928</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4928"/>
		<updated>2009-01-03T20:22:04Z</updated>

		<summary type="html">&lt;p&gt;Guberif: changed mailto information to display name and email address&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.13 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Huge credit&#039;&#039;&#039; for this project goes to &#039;&#039;&#039;[mailto:benjamin.coder.smith@gmail.com Ben Smith]&#039;&#039;&#039;.  This guy knows what he&#039;s doing and is well worth hiring.  Here is the [http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=939947 original project page].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* First, install the built binary by following [[Code/CFLite|The &amp;quot;Easy&amp;quot; Way instructions]].&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/patch_and_flsl.zip patch_and_flsl.zip] (contains the patcher and the flsl.c file)&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]].  Follow the link for detailed instructions.&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CFLite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.  It will unzip into a folder called &amp;quot;CF-476.13&amp;quot;.&lt;br /&gt;
** Open the &amp;quot;CF-476.13&amp;quot; directory.  From now on i&#039;ll just call this &amp;quot;the CFLite folder&amp;quot;.&lt;br /&gt;
** Delete the following files:  The patch does not yet cover these source files and their contained features.  The build process for CFLite is... unique, you&#039;ll want to move or remove these files.  (A suitable Makefile would be superior)&lt;br /&gt;
 CFConcreteStreams.c&lt;br /&gt;
 CFMachPort.c&lt;br /&gt;
 CFMessagePort.c&lt;br /&gt;
 CFPlugIn_Instance.c&lt;br /&gt;
 CFRunLoop.c&lt;br /&gt;
 CFRunLoopPriv.h&lt;br /&gt;
 CFSocket.c&lt;br /&gt;
 CFSocketStream.c&lt;br /&gt;
 CFStream.c&lt;br /&gt;
 CFStringDefaultEncoding.h&lt;br /&gt;
 CFUserNotification.c&lt;br /&gt;
 CFVersion.c&lt;br /&gt;
 CFWindowsMessageQueue.c&lt;br /&gt;
 CFWindowsMessageQueue.h&lt;br /&gt;
** You may also delete these files, as they are already installed (from step 1):&lt;br /&gt;
 CFCharacterSetBitmaps.bitmap&lt;br /&gt;
 CFUniCharPropertyDatabase.data&lt;br /&gt;
 CFUnicodeData-B.mapping&lt;br /&gt;
 CFUnicodeData-L.mapping&lt;br /&gt;
** Unzip &#039;&#039;&#039;patch_and_flsl.zip&#039;&#039;&#039; and place it&#039;s 2 files into your CFLite folder.  This will place your patcher and the flsl.c file both in that directory.  Note that flsl is a locked file (at leat on my mac) so unlock it before applying the patch.&lt;br /&gt;
** Unzip &#039;&#039;&#039;Include.zip&#039;&#039;&#039; into your CFLite folder (it will be in it&#039;s own folder)&lt;br /&gt;
** Unzip the &#039;&#039;&#039;ICU4C&#039;&#039;&#039; package into the Include folder that was just created.  It should extract into a folder called &#039;&#039;&#039;icu&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.  (Ignore the fact that the path does not contain the word &amp;quot;CF-476.13&amp;quot;, yours should)&amp;lt;br&amp;gt;&lt;br /&gt;
http://kjams.com/cflite/screenshots/cfbuild_include_folder_screenshot.png&lt;br /&gt;
&lt;br /&gt;
* at your Cygwin command prompt, navigate IN to your CFLite folder (so you&#039;re seeing it&#039;s contents)&lt;br /&gt;
** Note: Cygwin will execute regular dos commands like dir, copy, del, or you can use their unix equivalents ls, cp, rm.  Change directories with the cd command.&lt;br /&gt;
** Note:  Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is against CFLite &#039;&#039;&#039;476.13&#039;&#039;, patching will fail with any other version.&lt;br /&gt;
** Use this patch command from inside the CFLite directory.  Note that is a &amp;quot;Number One&amp;quot; after the &#039;&#039;&#039;-p&#039;&#039;&#039;, it is not a &amp;quot;Letter Ell&amp;quot;.&lt;br /&gt;
 patch -p1 &amp;lt; cf_windows.patch&lt;br /&gt;
* Note: open CFUtilities and search for &lt;br /&gt;
 fprintf(CFGetLogFile(), NULL, &amp;quot;%04d...&lt;br /&gt;
and change it to (just remove the &amp;quot;NULL, &amp;quot;):&lt;br /&gt;
 fprintf(CFGetLogFile(), &amp;quot;%04d...&lt;br /&gt;
* Now make the binary&lt;br /&gt;
 make 2&amp;gt;error_log.txt&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** Your built .dll and .lib files will be installed into your \WINDOWS\CoreFoundation\ directory after being built.&lt;br /&gt;
** Your modified CF headers will be copied into \WINDOWS\CoreFoundation\CoreFoundation\ automatically as well&lt;br /&gt;
&lt;br /&gt;
* Using CFLite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You followed the original instructions for &amp;quot;the easy way&amp;quot; right?&lt;br /&gt;
** CodeWarrior&lt;br /&gt;
*** add the dll to your project&lt;br /&gt;
*** add the 2 include paths&lt;br /&gt;
*** you can&#039;t use the functions &amp;quot;CFAbsoluteTimeGetGregorianDate&amp;quot; and &amp;quot;CFAbsoluteTimeGetDifferenceAsGregorianUnits&amp;quot; because they return structs. Instead, use &amp;quot;CFAbsoluteTimeGetGregorianDate_MW&amp;quot; and &amp;quot;CFAbsoluteTimeGetDifferenceAsGregorianUnits_MW&amp;quot; respectively.  See CFTest (below) for an example.&lt;br /&gt;
&lt;br /&gt;
* Download the [http://kjams.com/cflite/downloads/CFTest.zip CFTest] source files.  This is the test harness sample project and includes some extremely high win factor utilities&lt;br /&gt;
** open it up and go to the &amp;quot;win_vs&amp;quot; folder for Visual Studio project, or &amp;quot;win_cw&amp;quot; for the CodeWarrior project&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console or log file&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4672</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4672"/>
		<updated>2008-08-13T09:40:15Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file. [http://kjams.com/cflite/downloads/flsl.c Here] is a local copy.&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* You will need the contents of include/mach/ and include/i386/, and the files include/malloc/malloc.h, include/sys/cdefs.h, include/AssertMacros.h, include/AvailabilityMacros.h, and include/TargetConditionals.h from include.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]].  Follow the link for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover the following source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to move or remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Create a folder named malloc.  Copy include.zip&#039;s include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy include.zip&#039;s include/sys/cdefs.h into it.&lt;br /&gt;
** Copy include.zip&#039;s include/AvailabilityMacros.h, include/AssertMacros.h, and include/TargetConditionals.h files and the include/mach and include/i386 folders into your include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/cfbuild_include_folder_screenshot.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin will execute regular dos commands like dir, copy, del, or you can use their unix equivalents ls, cp, rm.  Change directories with the cd command.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply [http://kjams.com/cflite/downloads/cf_windows.patch the patch].  The patch is against CFLite-476.13, patching will fail with CFLite-476.10.&lt;br /&gt;
** Use the command &#039;patch -p1 &amp;lt; cf_windows.patch&#039; from inside the CF-Lite directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make and press enter.&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** Your .dll and .lib files will be in your current directory.  The directory include/CoreFoundation/ will contain the Core Foundation headers that you use for other programs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
*** CoreFoundation relies on the stdint.h and stdbool.h files, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard. You&#039;ll need to put them on your include path.  I placed mine in my compiler&#039;s include folder because they help support C99 and don&#039;t interfere with my compiler workings.  Since they are freely redistributable, [http://kjams.com/cflite/downloads/stdint.h stdint.h] and [http://kjams.com/cflite/downloads/stdbool.h stdbool.h] can be had locally as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
&lt;br /&gt;
* Source code changes for CFTest.exe&lt;br /&gt;
** CFTest.exe looks for the &amp;quot;test.xml&amp;quot; Chiquitita.xml file in its parent directory.&lt;br /&gt;
&lt;br /&gt;
* CFUtils.cpp lines 112 and 115 in the function Read_PList should use CFSTR() for the text in the call to CCFLog or CFTest.exe crashes when the xml file can&#039;t be read or if it doesn&#039;t parse correctly.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4671</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4671"/>
		<updated>2008-08-13T07:24:56Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file. [http://kjams.com/cflite/downloads/flsl.c Here] is a local copy.&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* You will need the contents of include/mach/ and include/i386/, and the files include/malloc/malloc.h, include/sys/cdefs.h, include/AssertMacros.h, include/AvailabilityMacros.h, and include/TargetConditionals.h from include.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]].  Follow the link for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover the following source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to move or remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Create a folder named malloc.  Copy include.zip&#039;s include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy include.zip&#039;s include/sys/cdefs.h into it.&lt;br /&gt;
** Copy include.zip&#039;s include/AvailabilityMacros.h, include/AssertMacros.h, and include/TargetConditionals.h files and the include/mach and include/i386 folders into your include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/cfbuild_include_folder_screenshot.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin will execute regular dos commands like dir, copy, del, or you can use their unix equivalents ls, cp, rm.  Change directories with the cd command.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply [http://kjams.com/cflite/downloads/cf_windows.patch the patch].  The patch is against CFLite-476.13, patching will fail with CFLite-476.10.&lt;br /&gt;
** Use the command &#039;patch -p1 &amp;lt; cf_windows.patch&#039; from inside the CF-Lite directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make and press enter.&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** Your .dll and .lib files will be in your current directory.  The directory include/CoreFoundation/ will contain the Core Foundation headers that you use for other programs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
*** CoreFoundation relies on the stdint.h and stdbool.h files, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard. You&#039;ll need to put them on your include path.  I placed mine in my compiler&#039;s include folder because they help support C99 and don&#039;t interfere with my compiler workings.  Since they are freely redistributable, [http://kjams.com/cflite/downloads/stdint.h stdint.h] and [http://kjams.com/cflite/downloads/stdbool.h stdbool.h] can be had locally as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** CFTest.exe looks for the &amp;quot;test.xml&amp;quot; Chiquitita.xml file in its parent directory.&lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite/Cygwin&amp;diff=4670</id>
		<title>CFLite/Cygwin</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite/Cygwin&amp;diff=4670"/>
		<updated>2008-08-13T06:52:51Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;# Run the [http://www.cygwin.com/setup.exe Cygwin Setup] installer&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%206.png&lt;br /&gt;
# Click &amp;quot;Run&amp;quot;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%207.png&lt;br /&gt;
# Click &amp;quot;Run&amp;quot;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%208.png&lt;br /&gt;
# Click &amp;quot;Next&amp;quot;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%209.png&lt;br /&gt;
# Click &amp;quot;Next&amp;quot;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%2010.png&lt;br /&gt;
# Click &amp;quot;Next&amp;quot;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%2011.png&lt;br /&gt;
# Click &amp;quot;Next&amp;quot;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%2012.png&lt;br /&gt;
# Click &amp;quot;Next&amp;quot;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/picture%2013.png&lt;br /&gt;
# pick any mirror (i like to pick http ones rather than FTP ones), then click Next&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/cygwin_stop_here.png&lt;br /&gt;
# I find it helpful to stretch the window out.&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/cygwin_expanded.png&lt;br /&gt;
# Expand the Devel branch and select these packages by clicking the text labelled Skip(pretty unintuitive, imo).  The packages needed for CF-Lite are:&lt;br /&gt;
#* diffutils&lt;br /&gt;
#* gcc-core &lt;br /&gt;
#* gcc-objc &lt;br /&gt;
#* gdb, if you want to debug the dll.&lt;br /&gt;
#* make&lt;br /&gt;
#* patchutils&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/cygwin_download.png&lt;br /&gt;
# Click Next, cygwin will download the necessary packages from the internet and install them.&amp;lt;br&amp;gt;http://kjams.com/cflite/screenshots/cygwin_finish.png&lt;br /&gt;
# Click Finish.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4669</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4669"/>
		<updated>2008-08-12T10:32:00Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* You will need the contents of include/mach/ and include/i386/, and the files include/malloc/malloc.h, include/sys/cdefs.h, include/AssertMacros.h, include/AvailabilityMacros.h, and include/TargetConditionals.h from include.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (click the text labelled Skip, it will change to a package version) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** Devel/patchutils&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover the following source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to move or remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Create a folder named malloc.  Copy include.zip&#039;s include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy include.zip&#039;s include/sys/cdefs.h into it.&lt;br /&gt;
** Copy include.zip&#039;s include/AvailabilityMacros.h, include/AssertMacros.h, and include/TargetConditionals.h files and the include/mach and include/i386 folders into your include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.&lt;br /&gt;
INCLUDE_SCREENSHOT_HERE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** Use the command &#039;patch -p1 &amp;lt; cf_windows.patch&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make and press enter.&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** Your .dll and .lib files will be in your current directory.  The directory include/CoreFoundation/ will contain the Core Foundation headers that you use for other programs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
*** CoreFoundation relies on the stdint.h and stdbool.h files, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard. You&#039;ll need to put them on your include path.  I placed mine in my compiler&#039;s include folder because they help support C99 and don&#039;t interfere with my compiler workings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4668</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4668"/>
		<updated>2008-08-12T10:24:41Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* You will need the contents of include/mach/ and include/i386/, and the files include/malloc/malloc.h, include/sys/cdefs.h, include/AssertMacros.h, include/AvailabilityMacros.h, and include/TargetConditionals.h from include.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (click the text labelled Skip, it will change to a package version) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** Devel/patchutils&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover the following source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to move or remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Create a folder named malloc.  Copy include.zip&#039;s include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy include.zip&#039;s include/sys/cdefs.h into it.&lt;br /&gt;
** Copy include.zip&#039;s include/AvailabilityMacros.h, include/AssertMacros.h, and include/TargetConditionals.h files and the include/mach and include/i386 folders into your include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.&lt;br /&gt;
INCLUDE_SCREENSHOT_HERE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** use the command &#039;patch -p1 &amp;lt; cf_windows.patch&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make and press enter.&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** Your .dll and .lib files will be in your current directory.  The directory include/CoreFoundation/ will contain the Core Foundation headers that you use for other programs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
*** CoreFoundation relies on the stdint.h and stdbool.h files, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard. You&#039;ll need to put them on your include path.  I placed mine in my compiler&#039;s include folder because they help support C99 and don&#039;t interfere with my compiler workings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4667</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4667"/>
		<updated>2008-08-12T10:23:21Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* You will need the contents of include/mach/ and include/i386/, and the files include/malloc/malloc.h, include/sys/cdefs.h, include/AssertMacros.h, include/AvailabilityMacros.h, and include/TargetConditionals.h from include.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (click the text labelled Skip, it will change to a package version) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** Devel/patchutils&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover the following source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to move or remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, and stdbool.h into this include folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy include.zip&#039;s include/AvailabilityMacros.h, include/AssertMacros.h, and include/TargetConditionals.h files and the include/mach and include/i386 folders into your include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.&lt;br /&gt;
INCLUDE_SCREENSHOT_HERE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** use the command &#039;patch -p1 &amp;lt; cf_windows.patch&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make and press enter.&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** Your .dll and .lib files will be in your current directory.  The directory include/CoreFoundation/ will contain the Core Foundation headers that you use for other programs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
*** CoreFoundation relies on the stdint.h and stdbool.h files, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard. You&#039;ll need to put them on your include path.  I placed mine in my compiler&#039;s include folder because they help support C99 and don&#039;t interfere with my compiler workings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4666</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4666"/>
		<updated>2008-08-12T10:22:50Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* You will need the contents of include/mach/ and include/i386/, and the files include/malloc/malloc.h, include/sys/cdefs.h, include/AssertMacros.h, include/AvailabilityMacros.h, and include/TargetConditionals.h from include.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (click the text labelled Skip, it will change to a package version) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** Devel/patchutils&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover the following source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to move or remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, and stdbool.h into this include folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy include.zip&#039;s include/AvailabilityMacros.h, include/AssertMacros.h, and include/TargetConditionals.h files and the include/mach and include/i386 folders into your include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.&lt;br /&gt;
INCLUDE_SCREENSHOT_HERE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** use the command &#039;patch -p1 &amp;lt; cf_windows.patch&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make and press enter.&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** Your .dll and .lib files will be in your current directory.  The directory include/CoreFoundation/ will contain the Core Foundation headers that you use for other programs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
*** CoreFoundation relies on the stdint.h and stdbool.h files, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard. You&#039;ll need to put them on your include path.  I placed mine in my compiler&#039;s include folder because they help support C99 and don&#039;t interfere with my compiler workings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4665</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4665"/>
		<updated>2008-08-12T10:20:16Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* You will need the contents of include/mach/ and include/i386/, and the files include/malloc/malloc.h, include/sys/cdefs.h, include/AssertMacros.h, include/AvailabilityMacros.h, and include/TargetConditionals.h from include.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (click the text labelled Skip, it will change to a package version) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** Devel/patchutils&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere simple.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover the following source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to move or remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, and stdbool.h into this include folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy include.zip&#039;s include/AvailabilityMacros.h, include/AssertMacros.h, and include/TargetConditionals.h files and the include/mach and include/i386 folders into your include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your include folder should look like this when you&#039;re finished.&lt;br /&gt;
INCLUDE_SCREENSHOT_HERE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** use the command patch -p1 &amp;lt; cf_windows.patch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make and press enter.&lt;br /&gt;
** There are a lot of warnings.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** Your .dll and .lib files will be in your current directory.  The directory include/CoreFoundation/ will contain the Core Foundation headers that you use for other programs. &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
*** CoreFoundation relies on the stdint.h and stdbool.h files, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard. You&#039;ll need to put them on your include path.  I placed mine in my compiler&#039;s include folder because they help support C99 and don&#039;t interfere with my compiler workings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4664</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4664"/>
		<updated>2008-08-12T07:16:17Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover these source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** XXXTODO patch instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4663</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4663"/>
		<updated>2008-08-12T07:15:43Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** The patch does not yet cover these source files and their contained features.  The build process for CF-Lite is... unique, you&#039;ll want to remove these files.  A suitable Makefile would be superior.&lt;br /&gt;
*** CFConcreteStreams.c&lt;br /&gt;
*** CFMachPort.c&lt;br /&gt;
*** CFMessagePort.c&lt;br /&gt;
*** CFPlugIn_Instance.c&lt;br /&gt;
*** CFRunLoop.c&lt;br /&gt;
*** CFRunLoopPriv.h&lt;br /&gt;
*** CFSocket.c&lt;br /&gt;
*** CFSocketStream.c&lt;br /&gt;
*** CFStream.c&lt;br /&gt;
*** CFStringDefaultEncoding.h&lt;br /&gt;
*** CFUserNotification.c&lt;br /&gt;
*** CFVersion.c&lt;br /&gt;
*** CFWindowsMessageQueue.c&lt;br /&gt;
*** CFWindowsMessageQueue.h&lt;br /&gt;
&lt;br /&gt;
** Create a folder in your windows directory named CoreFoundation.  Under it, make a new folder named CoreFoundation.resources.  Under that one, create one called CharacterSets.  You should now have the path \WINDOWS\CoreFoundation\CoreFoundation.resources\CharacterSets.&lt;br /&gt;
** Move the files CFCharacterSetBitmaps.bitmap, CFUniCharPropertyDatabase.data, CFUnicodeData-B.mapping, CFUnicodeData-L.mapping into the new CharacterSets folder.&lt;br /&gt;
&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** XXXTODO patch instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4662</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4662"/>
		<updated>2008-08-12T05:59:58Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: XXXTODO.  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** XXXTODO patch instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4661</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4661"/>
		<updated>2008-08-12T05:59:00Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: XXXTODO.  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
** XXXTODO patch instructions.&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4660</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4660"/>
		<updated>2008-08-12T05:56:32Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: xyzzy .  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  For example; /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4659</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4659"/>
		<updated>2008-08-12T05:55:28Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: xyzzy .  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  In other words, /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against CFLite-476.13.  Where to host patch?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions because Visual Studio didn&#039;t load the object code for that particular module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4658</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4658"/>
		<updated>2008-08-12T05:52:35Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: xyzzy .  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  In other words, /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against version 476-13.  Where to host patch?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4657</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4657"/>
		<updated>2008-08-12T05:52:14Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: xyzzy .  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  In other words, /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch.  The patch is a patch against version 476-13.  Where to host patch?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4656</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4656"/>
		<updated>2008-08-12T05:50:40Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: xyzzy .  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
* Navigate to the folder where you extracted CF-Lite on your Cygwin command prompt.&lt;br /&gt;
** Cygwin maps disk drive letters to a mount point in the folder /cygdrive/.  In other words, /cygdrive/c/ is equivalent to C:\, and /cygdrive/m/ would be M:\ at a DOS prompt or under My Computer.&lt;br /&gt;
* Apply the patch.  The patch is a patch against version 476-13.  Where to host patch?&lt;br /&gt;
* Run make.  Just type make.&lt;br /&gt;
** If you need to capture stderr during the build process, use make 2&amp;gt;error_log.txt instead.&lt;br /&gt;
** &lt;br /&gt;
&lt;br /&gt;
* Using CF-Lite in your own programs:&lt;br /&gt;
** If you&#039;re using GCC&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** Works just like using a DLL in other GCC apps.&lt;br /&gt;
*** Make sure you use the -mno-cygwin flag to prevent gcc from linking with the cygwin dll and C runtime.  Link with -lmsvcrt instead.&lt;br /&gt;
&lt;br /&gt;
** Visual Studio 2005&lt;br /&gt;
*** You will need to define the preprocessor directive __WIN32__ in your build.&lt;br /&gt;
*** In release target builds, you need to disable Visual Studio&#039;s library loading trimming.  To do this, open your project properties, expand Configuration Properties, expand Linker, select Optimizations, then set the field labelled references to &#039;&#039;&#039;&#039;Keep Unreferenced Data (/OPT:NOREF)&#039;&#039;&#039;&#039;.  If you don&#039;t do this, you can have crashes at fairly innocent seeming functions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4655</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4655"/>
		<updated>2008-08-12T05:20:47Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
* Arrange the source files.  This layout is the format that the windows patch understands.&lt;br /&gt;
** Extract CF-Lite to a place of your choosing.  You&#039;ll need to get to the directory easily from cygwin, so make it somewhere easy.&lt;br /&gt;
** Open the directory where you extracted CF-Lite.&lt;br /&gt;
** Remove the files: xyzzy .  The patch does not yet cover these source files and their contained features.&lt;br /&gt;
** Copy flsl.c into your CFLite folder.&lt;br /&gt;
** Create a folder named include, in the CF-Lite folder.&lt;br /&gt;
** Open the include folder that you just made.&lt;br /&gt;
** Copy the files stdint.h, stdbool.h, AvailabilityMacros.h, AssertMacros.h, and TargetConditionals.h into this include folder.&lt;br /&gt;
** Extract the ICU4C package in the include folder.  It should extract into an icu folder.&lt;br /&gt;
** Create a folder named malloc.  Copy XCode&#039;s /usr/include/malloc/malloc.h into this folder.&lt;br /&gt;
** Create a folder named sys.  Copy XCode&#039;s /usr/include/sys/cdefs.h into it.&lt;br /&gt;
** Copy XCode&#039;s /usr/include/mach and /usr/include/i386 folders into your include folder.&lt;br /&gt;
* Apply the patch&lt;br /&gt;
* Run make&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4654</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4654"/>
		<updated>2008-08-12T04:32:11Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch&lt;br /&gt;
* Run make&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&lt;br /&gt;
** You can ignore the XCode project&lt;br /&gt;
** create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;&lt;br /&gt;
** the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&lt;br /&gt;
** you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  &lt;br /&gt;
&lt;br /&gt;
Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4653</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4653"/>
		<updated>2008-08-12T04:30:32Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
* Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
** When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
* Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
* Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
* Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
* If you&#039;re using Microsoft Visual Studio, you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] They don&#039;t come with the compiler but are part of the C99 standard.&lt;br /&gt;
* You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the patch&lt;br /&gt;
* Run make&lt;br /&gt;
* Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4652</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4652"/>
		<updated>2008-08-12T04:22:47Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
#* Devel/gcc-core &lt;br /&gt;
#* Devel/gcc-objc &lt;br /&gt;
#* Devel/make&lt;br /&gt;
#* If you want to debug the dll, also install Devel/gdb.&lt;br /&gt;
#* When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# Get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
##You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4651</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4651"/>
		<updated>2008-08-12T04:20:39Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
#* Devel/gcc-core &lt;br /&gt;
#* Devel/gcc-objc &lt;br /&gt;
#* Devel/make&lt;br /&gt;
#* If you want to debug, also install Devel/gdb.&lt;br /&gt;
#* When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# get FreeBSD&#039;s [http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/libkern/flsl.c?rev=1.4;content-type=text%2Fplain flsl.c] source file&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
##You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4650</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4650"/>
		<updated>2008-08-12T04:16:47Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
#* Devel/gcc-core &lt;br /&gt;
#* Devel/gcc-objc &lt;br /&gt;
#* Devel/make&lt;br /&gt;
#* If you want to debug, also install Devel/gdb.&lt;br /&gt;
#* When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# get FreeBSD&#039;s flsl.c source file&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
##You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4649</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4649"/>
		<updated>2008-08-12T04:14:21Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
#* Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug, also install Devel/gdb.&lt;br /&gt;
# When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# get FreeBSD&#039;s flsl.c source file&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
##You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4648</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4648"/>
		<updated>2008-08-12T04:13:17Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
** Devel/gcc-core &lt;br /&gt;
** Devel/gcc-objc &lt;br /&gt;
** Devel/make&lt;br /&gt;
** If you want to debug, also install Devel/gdb.&lt;br /&gt;
# When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# get FreeBSD&#039;s flsl.c source file&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
##You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4647</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4647"/>
		<updated>2008-08-12T04:12:53Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
* Devel/gcc-core &lt;br /&gt;
* Devel/gcc-objc &lt;br /&gt;
* Devel/make&lt;br /&gt;
* If you want to debug, also install Devel/gdb.&lt;br /&gt;
# When you first run cygwin, it may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# get FreeBSD&#039;s flsl.c source file&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
##You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4646</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4646"/>
		<updated>2008-08-12T04:02:52Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select (add them by clicking the text labelled Skip) these packages during the install:&lt;br /&gt;
## Devel/gcc-core &lt;br /&gt;
## Devel/gcc-objc &lt;br /&gt;
## Devel/make&lt;br /&gt;
## If you want to debug, also install Devel/gdb.&lt;br /&gt;
# After the install completes, cygwin may notify you that it needs you to build /etc/passwd and /etc/group.  Do this.  Your cygwin setup should be ready.&lt;br /&gt;
&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# get FreeBSD&#039;s flsl.c source file&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
##You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4645</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4645"/>
		<updated>2008-08-10T12:02:56Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select these packages during the install:&lt;br /&gt;
Devel/gcc-core Devel/gcc-objc Devel/make (add them by clicking the text labelled Skip)&lt;br /&gt;
My install didn&#039;t complete the first time, if this happens, run setup.exe again and run through the defaults&lt;br /&gt;
My install told me to build /etc/passwd and /etc/group and gave instructions, do this if notified.kjgft&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
#get FreeBSD&#039;s flsl.c source file&lt;br /&gt;
# install it where??&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# install it where??&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4644</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4644"/>
		<updated>2008-08-10T07:32:56Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select these packages during the install:&lt;br /&gt;
Devel/gcc-core Devel/gcc-objc Devel/make (add them by clicking the text labelled Skip)&lt;br /&gt;
My install didn&#039;t complete the first time, if this happens, run setup.exe again and run through the defaults&lt;br /&gt;
My install told me to build /etc/passwd and /etc/group and gave instructions, do this if notified.kjgft&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# install it where??&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# install it where??&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
You will need the contents of mach/*, i386/*, malloc/malloc.h, and sys/cdefs.h from xcode 3.0&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4643</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4643"/>
		<updated>2008-08-10T06:20:20Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]] - select these packages during the install:&lt;br /&gt;
Devel/gcc-core Devel/gcc-objc Devel/make (add them by clicking the text labelled Skip)&lt;br /&gt;
My install didn&#039;t complete the first time, if this happens, run setup.exe again and run through the defaults&lt;br /&gt;
My install told me to build /etc/passwd and /etc/group and gave instructions, do this if notified.kjgft&lt;br /&gt;
# Download [http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-Win32-msvc8.zip ICU4C] &lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# install it where??&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# install it where??&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Muck with leopard headers&lt;br /&gt;
# Apply the patch&lt;br /&gt;
# run make&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4635</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4635"/>
		<updated>2008-07-27T05:22:50Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]]&lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# install it where??&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# install it where??&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=Stdbool.h&amp;diff=4634</id>
		<title>Stdbool.h</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=Stdbool.h&amp;diff=4634"/>
		<updated>2008-07-27T05:15:15Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=Stdbool.h&amp;diff=4633</id>
		<title>Stdbool.h</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=Stdbool.h&amp;diff=4633"/>
		<updated>2008-07-27T05:08:45Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/*&lt;br /&gt;
 * Copyright (c) 2000 Jeroen Ruigrok van der Werven &amp;lt;asmodai@FreeBSD.org&amp;gt;&lt;br /&gt;
 * All rights reserved.&lt;br /&gt;
 *&lt;br /&gt;
 * Redistribution and use in source and binary forms, with or without&lt;br /&gt;
 * modification, are permitted provided that the following conditions&lt;br /&gt;
 * are met:&lt;br /&gt;
 * 1. Redistributions of source code must retain the above copyright&lt;br /&gt;
 *    notice, this list of conditions and the following disclaimer.&lt;br /&gt;
 * 2. Redistributions in binary form must reproduce the above copyright&lt;br /&gt;
 *    notice, this list of conditions and the following disclaimer in the&lt;br /&gt;
 *    documentation and/or other materials provided with the distribution.&lt;br /&gt;
 *&lt;br /&gt;
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS&#039;&#039; AND&lt;br /&gt;
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE&lt;br /&gt;
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE&lt;br /&gt;
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE&lt;br /&gt;
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL&lt;br /&gt;
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS&lt;br /&gt;
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)&lt;br /&gt;
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT&lt;br /&gt;
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY&lt;br /&gt;
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF&lt;br /&gt;
 * SUCH DAMAGE.&lt;br /&gt;
 *&lt;br /&gt;
 * $FreeBSD: src/include/stdbool.h,v 1.6 2002/08/16 07:33:14 alfred Exp $&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#ifndef _STDBOOL_H_&lt;br /&gt;
#define _STDBOOL_H_     &lt;br /&gt;
&lt;br /&gt;
#define __bool_true_false_are_defined   1&lt;br /&gt;
&lt;br /&gt;
#ifndef __cplusplus&lt;br /&gt;
&lt;br /&gt;
#define false   0&lt;br /&gt;
#define true    1&lt;br /&gt;
&lt;br /&gt;
#define bool    _Bool&lt;br /&gt;
#if __STDC_VERSION__ &amp;lt; 199901L &amp;amp;&amp;amp; __GNUC__ &amp;lt; 3&lt;br /&gt;
typedef int     _Bool;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
#endif /* !__cplusplus */&lt;br /&gt;
&lt;br /&gt;
#endif /* !_STDBOOL_H_ */&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4632</id>
		<title>CFLite old</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=CFLite_old&amp;diff=4632"/>
		<updated>2008-07-27T04:35:51Z</updated>

		<summary type="html">&lt;p&gt;Guberif: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you.  For a &amp;quot;quick and dirty&amp;quot; way to just start *using* CFLite on windows (without having to compile it), [[Code/CFLite|click here]].&lt;br /&gt;
&lt;br /&gt;
On Windows XP or Windows Vista:&amp;lt;br&amp;gt;&lt;br /&gt;
# Install [[CFLite/Cygwin|Cygwin]]&lt;br /&gt;
# Download [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.13.tar.gz CFLite 476.13].  &#039;&#039;&#039;Ooops!&#039;&#039;&#039;  Not available?  Try: [http://www.opensource.apple.com/darwinsource/tarballs/apsl/CF-476.10.tar.gz CFLite 476.10]&lt;br /&gt;
# install it where??&lt;br /&gt;
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)&lt;br /&gt;
# install it where??&lt;br /&gt;
# you&#039;ll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] if you&#039;re using Microsoft Visual Studio, it doesn&#039;t come with the compiler but is part of the C99 standard.  I suggest placing this file in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add it on a separate include path if you want to keep your compiler header folder pristine.  More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia].  Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?&lt;br /&gt;
# Download [[CFLite/CFTest|CFTest]] source files.  This is the test harness sample project.&amp;lt;br&amp;gt;* You can ignore the XCode project&amp;lt;br&amp;gt;* create a new project in your windows dev environment and add the two .cpp files.&amp;lt;br&amp;gt;* the &amp;quot;console.txt&amp;quot; is the example output that it &#039;&#039;&#039;should&#039;&#039;&#039; look like in your console&amp;lt;br&amp;gt;* you may need to tweak the relative path for &amp;quot;test.xml&amp;quot; to load properly.  Please document any necessary changes to the source code.&lt;/div&gt;</summary>
		<author><name>Guberif</name></author>
	</entry>
</feed>