-
Notifications
You must be signed in to change notification settings - Fork 295
/
README_sparc
42 lines (29 loc) · 925 Bytes
/
README_sparc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
=======================================
Build instructions:
=======================================
# ./autogen.sh
# ./configure --build= --host=sparc64-redhat-linux-gnu
--target=sparc64-linux --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info
# make clean && make V=1
=======================================
RPM queries:
=======================================
# rpm --eval %{_target}
sparc64-linux
# rpm --eval %{_host}
sparc64-redhat-linux-gnu
=======================================
GCC queries:
=======================================
Get all the gcc definitions for the platform:
# gcc -E -dM - < /dev/null
...
#define __sparc__ 1
...
#define __arch64__ 1
...