1 |
Hi,here are the first results. It did not work so far because I found my gcc-4.7.3 on gentoo_prefix (Mac OS 10.10) is broken. emerge gcc works and installs but if I try to compile a simple hello.cpp I get a segmentation fault 11. I am using the new binutils-apple-6.1. So far it seems that I can not get a newer gcc and thus also no llvm or any other package that asks for a more recent gcc. Right now I get a working basic system but almost all "higher" application fail to build one or the other way. |
2 |
|
3 |
Now I try to get llvm/clang working. For the compilation I am going to use the native llvm-gcc and llvm-g++ from Mac. |
4 |
I set up a package.env for llvm with:sys-devel/llvm llvm.conf |
5 |
llvm.conf contains:CC=/usr/bin/llvm-gcc |
6 |
CXX=/usr/bin/llvm-g++ |
7 |
|
8 |
The compilation works but there is an error when writing the llvm files to the right path. Here are emerge --infoshow at bpaste |
9 |
| | |
10 |
| | | | | | | | |
11 |
| show at bpastePortage 2.2.14-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.10/x64, gcc-4.2.1, unavailable, 14.1.0 x86_64)==================================... | |
12 |
| | |
13 |
| Auf bpaste.net anzeigen | Vorschau nach Yahoo | |
14 |
| | |
15 |
| | |
16 |
|
17 |
and the log file https://bpaste.net/show/62a0d5b0d4f4 |
18 |
I will experiment further ... |
19 |
|
20 |
|
21 |
|
22 |
François Bissey <frp.bissey@×××××.com> schrieb am 18:45 Montag, 26.Januar 2015: |
23 |
|
24 |
|
25 |
Hi, |
26 |
|
27 |
Well that would be an interesting experiment. You may have to limit yourself |
28 |
to gcc 4.7.x, I haven’t been able to get 4.8 to compile and I think that the old |
29 |
binutils is too blame. For env you could set CC CXX F77 and FC with the |
30 |
appropriate x86_64-apple-darwin14-{gcc,g++,gfortran}-4.7.3 value. |
31 |
I would be interested in your experience if you decide to go ahead. |
32 |
|
33 |
François |
34 |
> On 27/01/2015, at 02:42, JC D <mail2jcdx@×××××.de> wrote: |
35 |
> |
36 |
> Hi! |
37 |
> I want to install sage-on-gentoo using gentoo_prefix on a Mac OS 10.10. |
38 |
> My first try was not successful and it seems it was related to the "kind of outdated" gcc-apple compiler that is originally used in gentoo_prefix on Mac. |
39 |
> I have a question: Would it be possible to install a more recent gcc such as gcc-4.8 (as soon as it is unmasked) and then build the whole sage-on-gentoo with this compiler, but keeping the rest untouched? |
40 |
> And how could I do this? Would it be possible to set up layman using the gcc-4.8 for everything in the overlay or could I use /etc/portage/env for that? |
41 |
> Best regards from a newbie |
42 |
> |