1 |
Hi, |
2 |
|
3 |
At Tue, 15 May 2007 21:28:26 +0200, |
4 |
Fabian Groffen wrote: |
5 |
> |
6 |
> Is this before or after I fixed this problem for Elias? And if it was |
7 |
> before, does it result in a 64-bits capable compiler or not? |
8 |
|
9 |
It was May 1st, the timestamp says. |
10 |
|
11 |
% ls -l `which gcc` |
12 |
-rwxr-xr-x 1 tetsushi tetsushi 18512 May 1 03:42 /Users/tetsushi/Gentoo/usr/bin/gcc |
13 |
|
14 |
I was not very interested in 64-bits capability, but |
15 |
|
16 |
% cat hello.c |
17 |
#include <stdio.h> |
18 |
|
19 |
int main() { |
20 |
return printf("Hello World!\n"); |
21 |
} |
22 |
% gcc -m32 -o hello32 hello.c |
23 |
% gcc -m64 -o hello64 hello.c |
24 |
% /usr/bin/file hello32 |
25 |
hello32: Mach-O executable i386 |
26 |
% /usr/bin/file hello64 |
27 |
hello64: Mach-O 64-bit executable x86_64 |
28 |
% ./hello32 |
29 |
Hello World! |
30 |
% ./hello64 |
31 |
Hello World! |
32 |
|
33 |
seems fine, doesn't it? |
34 |
|
35 |
There's one thing I should mention that the file command of prefixed |
36 |
cannot tell hello64 is an executable: |
37 |
% $EPREFIX/usr/bin/file hello64 |
38 |
hello64: data |
39 |
|
40 |
-- |
41 |
MATSUI "Fe2+" Tetsushi |
42 |
-- |
43 |
gentoo-alt@g.o mailing list |