Update Mac toolchain to support c++11

Bug #1237387 reported by Owen Williams
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Wishlist
RJ Skerry-Ryan

Bug Description

Our mac build uses gcc 4.2, which is old. We need to either update to a more recent gcc or use Apple's compiler, as <email address hidden> describes:

For our Mac build we use gcc 4.2. released February 1, 2008, which is the the default version of XCode 4.

But it should be no deal to update the compiler version to a recent one.
http://www.ficksworkshop.com/blog/14-coding/65-installing-gcc-on-ma

XCode 5 comes without gcc. So we have to port to Apple compiler which supports C++11 features or install a recent gcc anyway.

http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 1237387] [NEW] Update Mac toolchain to support c++11

Unfortunately, this will be a lot of work. The build VM uses Snow Leopard.
XCode 5 (and the command-line tools package which is the standard way to
install a compiler toolchain) is not supported on Snow Leopard.

Installing clang or gcc from macports or homebrew is doable but it will
entail re-building everything for all platforms. I've always wanted to
build Mixxx with clang though.

On Wed, Oct 9, 2013 at 8:56 AM, Owen Williams <email address hidden> wrote:

> Public bug reported:
>
> Our mac build uses gcc 4.2, which is old. We need to either update to a
> more recent gcc or use Apple's compiler, as <email address hidden>
> describes:
>
>
> For our Mac build we use gcc 4.2. released February 1, 2008, which is the
> the default version of XCode 4.
>
>
> But it should be no deal to update the compiler version to a recent one.
> http://www.ficksworkshop.com/blog/14-coding/65-installing-gcc-on-ma
>
> XCode 5 comes without gcc. So we have to port to Apple compiler which
> supports C++11 features or install a recent gcc anyway.
>
> http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions
>
> ** Affects: mixxx
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1237387
>
> Title:
> Update Mac toolchain to support c++11
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1237387/+subscriptions
>

Revision history for this message
Albert Santoni (gamegod) wrote :

Yeah, I wouldn't touch the existing build VMs. We'd have to make new
ones for these new toolchains, but the hard part is rebuilding
everything for all platforms as RJ said.

Newer Mac toolchains should still support older OS X versions (we set
the "deployment target" to an older version), though I half expect
surprises there.

On Wed, Oct 9, 2013 at 9:54 AM, RJ Ryan <email address hidden> wrote:
> Unfortunately, this will be a lot of work. The build VM uses Snow Leopard.
> XCode 5 (and the command-line tools package which is the standard way to
> install a compiler toolchain) is not supported on Snow Leopard.
>
> Installing clang or gcc from macports or homebrew is doable but it will
> entail re-building everything for all platforms. I've always wanted to
> build Mixxx with clang though.
>
>
> On Wed, Oct 9, 2013 at 8:56 AM, Owen Williams <email address hidden> wrote:
>
>> Public bug reported:
>>
>> Our mac build uses gcc 4.2, which is old. We need to either update to a
>> more recent gcc or use Apple's compiler, as <email address hidden>
>> describes:
>>
>>
>> For our Mac build we use gcc 4.2. released February 1, 2008, which is the
>> the default version of XCode 4.
>>
>>
>> But it should be no deal to update the compiler version to a recent one.
>> http://www.ficksworkshop.com/blog/14-coding/65-installing-gcc-on-ma
>>
>> XCode 5 comes without gcc. So we have to port to Apple compiler which
>> supports C++11 features or install a recent gcc anyway.
>>
>> http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions
>>
>> ** Affects: mixxx
>> Importance: Undecided
>> Status: New
>>
>> --
>> You received this bug notification because you are a member of Mixxx
>> Development Team, which is subscribed to Mixxx.
>> https://bugs.launchpad.net/bugs/1237387
>>
>> Title:
>> Update Mac toolchain to support c++11
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/mixxx/+bug/1237387/+subscriptions
>>
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1237387
>
> Title:
> Update Mac toolchain to support c++11
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1237387/+subscriptions

--
Albert Santoni
Developer, Mixxx
http://www.mixxx.org
http://www.oscillicious.com

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → Low
status: New → Confirmed
importance: Low → Wishlist
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

master is now on c++11

Changed in mixxx:
assignee: nobody → RJ Ryan (rryan)
status: Confirmed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7188

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.