Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
g++ problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
arkaine23
n00b
n00b


Joined: 20 Nov 2002
Posts: 20

PostPosted: Tue Jan 07, 2003 10:23 pm    Post subject: g++ problems Reply with quote

I can emerge packages that use only gcc, but not anything that uses g++, like xfree for instance. I get "float" errors. I'm wondering what stage of the install I might have gotten wrong, given that everything else works fine. Where should I look to start trouble-shooting?

I'm reemerging egcs2-64 right now.

Any help appreciated

Edit: Could someone post the /etc/make.conf flags for an Ultrasparc?

Mine are:

CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=v9 -mtune=v9 -O2 -pipe"
CXXFLAGS="-O3 -pipe"

I found this link in /etc/make.conf for Sparc options. http://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html#SPARC%20Options Maybe someone out there knows more about this stuff or has an ultrasparc running gentoo already and can help me find the problem??

I'm going to try an emerge system with those CFLAGS. I originally had the CFLAGS set as the defaults: CFLAGS="-O3 -pipe"
Back to top
View user's profile Send private message
calmtom
n00b
n00b


Joined: 03 Jan 2003
Posts: 19

PostPosted: Thu Jan 09, 2003 9:46 pm    Post subject: Reply with quote

Mine are exactly the same except for CFLAGS.

It looks like:
CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe"
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 441

PostPosted: Fri Jan 10, 2003 9:21 am    Post subject: make.conf Reply with quote

I have this
Code:

ARCH="sparc64"
PLATFORM=sparc64-unknown-linux-gnu
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-O2"
CXXFLAGS="-O2"


xming
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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