|
From: Andreas G. <ag...@co...> - 2003-08-25 22:52:26
|
Hi All, I've assembled a new Whisper "Runtime" project which contains Mach-O targets and also links against BSD C and MSL C. (A brief description follows.) I would really appreciate it if you would like to evaluate it. ;-) If so, please send me a mail "Yes I want it!" - I'll send you immediately the archive. It is about 400KB (compressed archive), so I send it NOT without your explicit request, and I send it not to the mailing list. So, you won't get a copy if you just listen on the mailing list. Its for evaluating only and not intended to be checked in immediately. IMPORTANT: please send mail temporarily to my second account, <ag...@co...>, because pop.onlinehome.de is down. Description: Although, I spent a lot of time carefully handcrafting it, I consider it still being in "alpha" state. I think, it would be nice that you have an early version, so that you can evaluate it, find errors, and make suggestions and merge your improvements. There are a lot of things in it about we should discuss, too. Note that this is a proposal. Currently, there is only one "Prefix <target>.h" file, however, the functionality is included in the master prefix file "CW_Prefix Mac_All.h" for ALL targets. This is just a matter of creating the target specifi prefix files, and moving the macro definitions from the master prefix file to the prefix files. This would be required when compiling with PB - but works for CW, for now. (If you don't understand this, please take a look into the docs, in {WHISPER}/Config - or ask me) The Windows targets have not been testes at all. Please do not evaluate them (for all Windows experts: rather make the required changes so that they do work as well :-) ). The configuration mechanism is designed with a little bit foresight. It is intended to be suitable for compiling with ProjectBuilder or any other IDE, too. However, i did not have the time to create a BP project yet. There are minor changes within the file structure: - There is a new folder "Config" within the Whisper root. This folder contains "configure headers" (see docs included in the archive, within folder "Config"). - The IDE projects are located in an IDE specific folder, within folder "BuildSystem". Within this folders, there go the temp files of the build process, too. Runtime BuildSystem CodeWarrior Runtime.mcp ProjectBuilder Source (sources) Note, each Whisper project has such a folder for a each development environment (IDE) it currently supports. The products, go into a special folder. For instance, libraries, are located in {WHISPER}/Libraries/ Within Libraries, there are folders "Mach-O", "CFM", etc. This (test) project is "stand alone", you can unpack it and start building. It contains all necessary sources. Before you do that, in CW, in the global preferences, define a "Source Tree" "WHISPER", which points to your local Whisper folder. In this case - that is, for evaluating this test project - you should point this path to the folder which will be unpacked from the archive "Whisper 2.2.sit". Documentation for the config system and the conditional macros can be found in {WHISPER}/Config Compiling will be successfully, but linking fails for some targets due to some lack of implementations (stack crawl functions) and there are some minor other link errors, due to missing profiler lib. It contains sources, which have been modified such that it compiles on Mac OS X and also when linking against a C lib not having wchar support. However, it requires a Cpp lib having wchar and locale! Caution: The purpose of this test project is mainly for defining the new Mach-O targets, and testing the configure process and new WHISPER macros. It is not tested in its function as a "Runtime library" for Whisper Apps. This will be done later, of course. Andreas |