[odb-users] Outdated prebuilt compiler

Boris Kolpackov boris at codesynthesis.com
Tue Nov 22 10:16:26 EST 2016


Hi Mikhail,

Михаил Комаров <s02130359 at stud.cs.msu.ru> writes:

> Well, I would like to ask to build 2.5.0-a10 version of the ODB compiler
> for Mac to check my suggestions. Building a cross-compiling gcc toolchain
> is not such a quick stuff to do.
> 
> I’ve found lots of requests to build some version for some platform in
> this mailing list. Maybe I could help somehow with creating public
> available builds for every release (minor or major)?

That would be great. And I think having the latest version (of GCC/ODB)
will be what most people will want so no need for every minor/major
version.

To achieve this (on Mac) you will need to do three things:

1. Build usable GCC with plugin support. This is usually the hard part
   (again on Mac).

2. Build the ODB compiler using this GCC build.

3. Bundle everything together in a way that's usable once copied to
   another Mac (again, could be hard).

The (very ad hoc) scripts that we use live here:

http://scm.codesynthesis.com/?p=odb/odb-etc.git;a=tree;f=binary/darwin

We usually have to update them for every release of GCC (and we haven't
done this yet for the latest GCC versions).

BTW, another approach to consider is to package ODB for Homebrew. I
believe they already have the GCC build figured out (not sure if they
have latest versions though).

In any case, if you would like to give this a go, I would be happy
to package the 2.5.0-a10 source code for you.

Thanks,
Boris



More information about the odb-users mailing list