[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Status of Swarm on Mac OS X? (and gcc 3.1 status)
From: |
Marc-Antoine Parent |
Subject: |
Status of Swarm on Mac OS X? (and gcc 3.1 status) |
Date: |
Wed, 16 Jan 2002 10:01:13 -0500 |
Good day!
I know there was some talk here earlier about porting to Mac OS X, and
it seemed that a big problem was dependency on upcoming gcc-3.1
I checked in the in-progress gcc 3.1 from the active CVS branch, and it
built with very few hitches. (patches below...)
Would that be enough to get the work re-started on a port?
I'd like to look at Swarm, and I'd love to help, but I am afraid I am
spreading myself thin between looking at many other ports (notably
mozart...) Still, you may want to know I used Jim Ingham's port of
tcl/tk to Aqua, which you were also looking at, if I can be any help
there.
Thank you and good luck,
Marc-Antoine Parent
I patched in my build directory, so as not to affect the gcc source,
hence the fact that the diff involve two locations...
The same files, cctype and cstring, are found in both
gcc-build/powerpc-apple-darwin5.2/libstdc++-v3/include
and
gcc-build/powerpc-apple-darwin5.2/soft-float/libstdc++-v3/include
Just copy the patched files.
*** gcc/libstdc++-v3/include/c_std/cctype Fri Jan 4 16:27:33 2002
--- gcc-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype
Wed Jan 16 09:23:02 2002
***************
*** 52,57 ****
--- 52,92 ----
#undef tolower
#undef toupper
+ static __inline int isalnum(_BSD_RUNE_T_ c) {
+ return __istype(c, (_A|_D));
+ }
+ static __inline int isalpha(_BSD_RUNE_T_ c) {
+ return __istype(c, _A);
+ }
+ static __inline int isdigit(_BSD_RUNE_T_ c) {
+ return __istype(c, _D);
+ }
+ static __inline int iscntrl(_BSD_RUNE_T_ c) {
+ return __istype(c, _C);
+ }
+
+ static __inline int isgraph(_BSD_RUNE_T_ c) {
+ return __istype(c, _G);
+ }
+ static __inline int islower(_BSD_RUNE_T_ c) {
+ return __istype(c, _L);
+ }
+ static __inline int isprint(_BSD_RUNE_T_ c) {
+ return __istype(c, _R);
+ }
+ static __inline int ispunct(_BSD_RUNE_T_ c) {
+ return __istype(c, _P);
+ }
+ static __inline int isspace(_BSD_RUNE_T_ c) {
+ return __istype(c, _S);
+ }
+ static __inline int isupper(_BSD_RUNE_T_ c) {
+ return __istype(c, _U);
+ }
+ static __inline int isxdigit(_BSD_RUNE_T_ c) {
+ return __istype(c, _X);
+ }
+
namespace std
{
using ::isalnum;
*** gcc/libstdc++-v3/include/c_std/cstring Fri Jan 4 16:27:33 2002
--- gcc-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cstring
Wed Jan 16 09:35:25 2002
***************
*** 37,42 ****
--- 37,43 ----
#include <cstddef>
#pragma GCC system_header
+ #define _BSD_SIZE_T_DEFINED_
#include <string.h>
// Get rid of those macros defined in <string.h> in lieu of real
functions.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- Status of Swarm on Mac OS X? (and gcc 3.1 status),
Marc-Antoine Parent <=