Gentoo Archives: gentoo-user

From: Robert Persson <ireneshusband@××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] using g++ instead of gcc to build abiword
Date: Sat, 22 Oct 2005 23:30:46
Message-Id: 200510221629.54448.ireneshusband@yahoo.co.uk
In Reply to: Re: [gentoo-user] using g++ instead of gcc to build abiword by Richard Fish
1 Thanks Richard
2
3 I'm glad you pointed out that gcc version thing to me. But it doesn't change
4 anything about compiling abiword unfortunately, with or without using g++.
5
6 The strange thing is that abiword-2.2.10 (the version I currently have
7 installed) was only released last month sometime. So between then and now
8 something has changed on my system to prevent it compiling properly. If gcc
9 hasn't changed then what on earth could it be?
10
11 Robert
12
13 On October 22, 2005 02:00 pm Richard Fish was like:
14 > Robert Persson wrote:
15 > >I just did CC=g++ and I now get a different error, both with 1.2.11 and
16 > > 1.4.1, namely:
17 > >
18 > > cdump.c: In function `int main(int, char**)':
19 > > cdump.c:99: error: invalid conversion from `void*' to `unsigned char*'
20 >
21 > Hmm, yes, I guess this is to be expected. C++ is much more strict about
22 > type conversions than C, so you can't really compile .c files as C++ and
23 > expect good results...
24 >
25 > I just emerged 2.2.11, using gcc-3.3.4-r1, without any trouble. One
26 >
27 > thing I noticed though:
28 > >zebedee ~ # emerge --info
29 > >Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r2,
30 >
31 > ...
32 >
33 > >[ebuild R ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap
34 > > -boundschecking -build +fortran +gcj +gtk -hardened -ip28 (-multilib)
35 > > -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp +objc -static -vanilla
36 > > 26,919 kB
37 >
38 > I think this means that, even though have gcc-3.4.4 merged, you are
39 > actually using 3.3.5 to compile things via portage.
40 >
41 > Take a look at the output of "gcc-config -l", and if necessary, change
42 > the active profile with "gcc-config i686-pc-linux-gnu-3.4.4". Then try
43 > emerging again.
44 >
45 > -Richard
46
47 --
48 Robert Persson
49 ireneshusband@××××××××.fm
50 YahooMess:ireneshusband AIM:shamanicpolice
51
52 "Don't use nuclear weapons to troubleshoot faults."
53 (US Air Force Instruction 91-111, 1 Oct 1997)
54
55 --
56 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] using g++ instead of gcc to build abiword Dave Nebinger <dnebinger@××××.com>