You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "cargilld (JIRA)" <xe...@xml.apache.org> on 2007/12/31 13:28:43 UTC

[jira] Created: (XERCESC-1772) MacOS 64 bit Support for xerces-2

MacOS 64 bit Support for xerces-2
---------------------------------

                 Key: XERCESC-1772
                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
             Project: Xerces-C++
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.8.0
         Environment: MacOS 64 bit
            Reporter: cargilld
             Fix For: 2.8.0
         Attachments: macsvn.diff

The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: [jira] Created: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by William Kyngesburye <wo...@kyngchaos.com>.
Ah, I had come up with essentially the same this weekend, but this  
fills in a couple holes that I couldn't figure out.  A couple comments:

Add to MacOSDefs.hpp a conditional to handle Intel OSX for endian  
(defaults to big, for classic PPC):

#ifdef __LITTLE_ENDIAN__
   #define ENDIANMODE_LITTLE
#else
   #define ENDIANMODE_BIG
#endif

Mutexes should use direct pthread calls, as in Linux/unix, since the  
Mac MP APIs are Carbon. At least, I think I had a compile problem with  
it (I was doing a lot of hack-n-slashing), so I changed it.

TranscodeUniCharsToUTF8() and TranscodeUTF8ToUniChars() use Carbon, so  
should return 0 for a 64bit build (they aren't used in the 64bit  
versions of the Mac platform utils, at least with what I did).

On Dec 31, 2007, at 6:28 AM, cargilld (JIRA) wrote:

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/ 
> XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 2.8.0
>         Attachments: macsvn.diff
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.   
> Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but  
> thought it would be best if someone review them first.  Changes are  
> pretty much a result of pulling fixes from the xerces-c trunk.
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy



---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cargilld updated XERCESC-1772:
------------------------------

    Attachment: macsvn.diff

svn diff for MacCarbonFile.cpp, MacOSPlatformUtils.cpp and MacOSUnicodeConverter.cpp

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 2.8.0
>
>         Attachments: macsvn.diff
>
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cargilld updated XERCESC-1772:
------------------------------

    Attachment:     (was: macsvn.diff)

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 2.8.0
>
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1772:
-------------------------------------

    Fix Version/s:     (was: 2.8.0)
                   2.9.0
                   3.0.0

Should any of these fixes also go into 3.0.0 or is everything fixed there already?

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: macsvn.diff
>
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Closed: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1772.
------------------------------------

    Resolution: Won't Fix

Marking this bug as "Won't fix" since there are no plans to make any more releases in the 2-series.

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 2.9.0
>
>         Attachments: macsvn.diff
>
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by "Richard Eckart (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771134#action_12771134 ] 

Richard Eckart commented on XERCESC-1772:
-----------------------------------------

Thank you very much for this patch. I have submitted a patch to the macports portfile for Xerces 2 including this patch (https://trac.macports.org/ticket/22287).

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 2.9.0
>
>         Attachments: macsvn.diff
>
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cargilld updated XERCESC-1772:
------------------------------

    Attachment: macsvn.diff

svn diff for MacCarbonFile.cpp, MacOSPlatformUtils.cpp, MacOSUnicodeConverter.cpp, runConfigure (3 times), Makefile.incl

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 2.8.0
>
>         Attachments: macsvn.diff
>
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1772) MacOS 64 bit Support for xerces-2

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1772:
-------------------------------------

    Fix Version/s:     (was: 3.0.0)

3.0.0 appears to compile and work on Mac OS X in 64-bit mode.

> MacOS 64 bit Support for xerces-2
> ---------------------------------
>
>                 Key: XERCESC-1772
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1772
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: MacOS 64 bit
>            Reporter: cargilld
>             Fix For: 2.9.0
>
>         Attachments: macsvn.diff
>
>
> The MacOS code in the Xerces-2 branch was not building in 64 bits.  Attaching patch of source changes I made to specific
> MacOS files to get it to work.  I would commit them directly but thought it would be best if someone review them first.  Changes are pretty much a result of pulling fixes from the xerces-c trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org