Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OPenMP und GCC4.2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
mattes
Apprentice
Apprentice


Joined: 23 Jul 2008
Posts: 263
Location: München, Bavaria, Germany

PostPosted: Thu Nov 13, 2008 5:25 pm    Post subject: OPenMP und GCC4.2 Reply with quote

Hallo,

ich würde gern OpenMP nutzen, dass wohl erst ab gcc4.2 unterstützt wird. gcc4.2 ist aber noch ~x86. Was meint ihr, kann ich es wagen gcc42 zu installieren?

Ich es ja parallel installieren (ist ja ein anderer Slot) und es nur für meine eigenen Programm verwenden? (Gcc-config als User)
Back to top
View user's profile Send private message
mattes
Apprentice
Apprentice


Joined: 23 Jul 2008
Posts: 263
Location: München, Bavaria, Germany

PostPosted: Fri Nov 14, 2008 6:14 pm    Post subject: Reply with quote

Hallo,

den gcc zu emerge hat schon mal nichts kaputtgemacht :-) Aber funktionieren tut es noch nicht :-( mit gcc-config kann ich es nicht userspezifisch umstellen.
Back to top
View user's profile Send private message
mattes
Apprentice
Apprentice


Joined: 23 Jul 2008
Posts: 263
Location: München, Bavaria, Germany

PostPosted: Fri Nov 14, 2008 6:16 pm    Post subject: Reply with quote

Ach übrigens; nutzt von euch schon Jemand gcc4.2 als Standardcompiler? Scheint ja keine ernsthaften bugs mehr zu haben...
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1939

PostPosted: Sat Nov 15, 2008 9:33 pm    Post subject: Reply with quote

Ist nicht gcc 4.3 der Stable-Kandidat? Also dass gleich von 4.1 auf 4.3 gesprungen wird? :?:
Back to top
View user's profile Send private message
Ampheus
l33t
l33t


Joined: 19 Oct 2005
Posts: 814
Location: Rheine, NRW, Germany

PostPosted: Sat Nov 15, 2008 11:02 pm    Post subject: Reply with quote

mrsteven wrote:
Ist nicht gcc 4.3 der Stable-Kandidat? Also dass gleich von 4.1 auf 4.3 gesprungen wird? :?:


Genau.

Hier läuft seit ca 2 Monaten 4.3 als Standard und das bisher ohne Probleme. GCC 4.3.2 wird in nächster Zeit stable. Deswegen schätze ich das Risiko als sehr gering ein.

Ausserdem wird der neue GCC wie bereits gesagt in einem neuen slot installiert und danach auch nicht als Standard eingesetzt. Um auf einen neuen GCC zu wechseln, muss dieser nach der Installation manuell mit gcc-config ausgewählt werden.
_________________
Für alle doubleposter ;)
Back to top
View user's profile Send private message
mattes
Apprentice
Apprentice


Joined: 23 Jul 2008
Posts: 263
Location: München, Bavaria, Germany

PostPosted: Sun Nov 16, 2008 6:21 pm    Post subject: Reply with quote

Hallo,

ok dann nehm ich lieber den 4.3. Danke!

Wie kann ich denn als user einen anderen gcc als den Sys-Std. verwenden? Wenn ich einfach gcc-4.2 statt gcc ins makefile schreibe, werden tlw. notwendige Bibliotheken nicht gefunden.

Viele Grüße
Back to top
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Fri Nov 21, 2008 9:00 am    Post subject: Reply with quote

das habe ich auch schon mal gefragt, und das ist so
einfach wohl nicht möglich

gcc-config setzt ziemlich viele umgebungsvariablen neu

kannst es ja mal mit den umgebungsvariablen
CC und CXX versuchen, ich schalte immernoch mit
gcc-config um, es ist ja selten so, das man entwickelt und gleichzeitig emerge
läuft

[edit]
oder :
zum testen den ICC installieren, der unterstützt auch OPEN-MP
und den kannst du leicht parallel zu deinem system-compiler betreiben
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum