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

View: New views
7 Messages — Rating Filter:   Alert me  

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

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: c-dev-help@...


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

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: c-dev-help@...


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

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: c-dev-help@...


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

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: c-dev-help@...


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

by William Kyngesburye :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> For additional commands, e-mail: c-dev-help@...
>

-----
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@...
For additional commands, e-mail: c-dev-help@...


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

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: c-dev-help@...


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

by JIRA xerces-c-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: c-dev-help@...