🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1484

[ANN]CoreFoundation for win32

#1484
From: Jose Cruanyes
Date: Fri, 16 Jan 2004 09:00
69 lines
2960 bytes
========================================================================
		CORE FOUNDATION for WIN32
========================================================================

I've put together a system to create a Win32 DLL using Metrowerks
	CodeWarrior

I've tested it in Mac and Windows using CW 8.3.

I've would like to be able to build CoreFoundation on MS Visual C++ too,
	but I've found showstoppers, mainly the lack of C99 headers on VC, on
	which CF relies heavily (later we can open a discussion about this,
	MacTypes.h, TargetConditionals.h etc or about why UniversalInterfaces 4.0
	are no more universal)

This first version creates a DLL, but nothing prevents to update it to
	create an static lib

My goal is to have a lib compatibile with the CF headers on the Win32 QT
	6 SDK(BTW - why there are those headers there?)

I hope I've not break anything with these changes (the code compiles
	fine the __MACH__ version on Panther)

------------------------------------------------------------------------
There's a summary ChangeLog in the package about the modifications made to
	the CVS codein opendarwin.org

there's lots of cleaning still to do on these sources, but lets first
	make them work...



I'd would like to see my changes to the CF sources applied upstream

------------------------------------------------------------------------
Instructions to build CF-Win32

1 - download the tarball from
		<http://www.cegroup.it/mobilia/CFWin32.sit>
	or
		<http://www.cegroup.it/mobilia/CFwin32.zip>

2 - decompress it

3 - build the headers hierarchy

	on MacOSX, from the terminal
		cd (...)/CFwin32/MW_Windows/
		sh CopyHeaders.sh
	
	on Windows
		double click on CopyHeaders.bat
	

4 - open the CodeWarrior project CF.mcp

5 - compile it

6 - ???

7 - profit!!!


------------------------------------------------------------------------
Pax et Bonum

# dott. Jose' Cruanyes Aguilar  -  C.E. Soft srl
#  Pzza. Firenze,4 MILANO  -  XX Settembre 10, CREMONA
Technical Details
Message-ID: <a31dcfa8.0401160100.5d693305@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f635e,a85beb451a07d580,start
X-Google-Attributes: gidf635e,public
X-Google-Thread: fd047,a85beb451a07d580,start
X-Google-Attributes: gidfd047,public
X-Google-ArrivalTime: 2004-01-16 01:00:59 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: cruanyes@cegroup.it (Jose Cruanyes)
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.windows
Subject: [ANN]CoreFoundation for win32
Date: 16 Jan 2004 01:00:58 -0800
Organization: http://groups.google.com
Lines: 69
Message-ID: <a31dcfa8.0401160100.5d693305@posting.google.com>
NNTP-Posting-Host: 213.255.89.214
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1074243659 24896 127.0.0.1 (16 Jan 2004 09:00:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 16 Jan 2004 09:00:59 +0000 (UTC)