1 |
James wrote: |
2 |
> Hello, |
3 |
> |
4 |
> Well running a routine --depclean somehow |
5 |
> I lost the only copy of gcc on the system.... |
6 |
> |
7 |
> CFLAGS="-march=k8 -msse3 -O2 -pipe" |
8 |
> CHOST="x86_64-pc-linux-gnu" |
9 |
> CXXFLAGS="${CFLAGS}" |
10 |
> |
11 |
> I have a a similar system set like this: |
12 |
> |
13 |
> CFLAGS="-march=k8 -O2 -pipe" |
14 |
> CHOST="x86_64-pc-linux-gnu" |
15 |
> CXXFLAGS="${CFLAGS}" |
16 |
> |
17 |
> |
18 |
> Since there is no gcc-bin to emerge (ha ha) |
19 |
> I guess I'll have to copy over the binary of |
20 |
> orsys-devel/gcc-4.4.4-r2 from another system. |
21 |
> GUIDANCE on that is most welcome. |
22 |
> |
23 |
> Additionally, this could be prevented by keeping |
24 |
> the latest current stable gcc as well as the |
25 |
> previous current stable gcc on the system, |
26 |
> perhaps via the world file? Or Another method |
27 |
> to ensure at least 2 versions of gcc are |
28 |
> always on a given system? |
29 |
> |
30 |
> It's a first time deleting the compiler, |
31 |
> still do not know how it happened, as I |
32 |
> did look over the -p --depclean first.... |
33 |
> |
34 |
> -- The C compiler identification is unknown |
35 |
> -- The CXX compiler identification is unknown |
36 |
> -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc |
37 |
> -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken |
38 |
> CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): |
39 |
> The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a |
40 |
> simple test program. |
41 |
> |
42 |
> |
43 |
> James |
44 |
> |
45 |
> |
46 |
> |
47 |
> |
48 |
|
49 |
I would be glad to email you the binary from mine if it would help. |
50 |
Here is some info: |
51 |
|
52 |
CBUILD="x86_64-pc-linux-gnu" |
53 |
CFLAGS="-march=native -O2 -pipe" |
54 |
CHOST="x86_64-pc-linux-gnu" |
55 |
sys-devel/gcc: 4.4.4-r2 |
56 |
|
57 |
Since it is set to native, I have a AMD X4 955 Deneb 3.2GHz CPU. If you |
58 |
think it will work, let me know and I'll send you my copy. I promise |
59 |
not to spit on it first too. lol |
60 |
|
61 |
Let me know if you need more info. |
62 |
|
63 |
Dale |
64 |
|
65 |
:-) :-) |