1 |
Harry Putnam wrote: |
2 |
> Masood Ahmed <coolmasood@×××××.com> writes: |
3 |
> [...] |
4 |
> Thanks Masood, for the pointers.. I have a question about your sig. |
5 |
> |
6 |
> (....) |
7 |
> |
8 |
> Do you get that info from a single command or several? |
9 |
> |
10 |
|
11 |
The answer is several, |
12 |
for kernel version i did 'uname -r' |
13 |
for gcc-version i did 'gcc -v' |
14 |
for processor i did 'cat /proc/cpuinfo' |
15 |
for ram 'free -t' |
16 |
for CFLAGS 'cat /etc/make.conf | grep CFLAGS' |
17 |
for CXXFLAGS 'cat /etc/make.conf | grep CXXFLAGS' |
18 |
|
19 |
I think this is not what you expected. I dont have enough sed and grep |
20 |
knowledge to automate the process, but i'm learning it. I'd like to |
21 |
write a script that would output only the required contents from the |
22 |
output of the commands above. |
23 |
|
24 |
Got any idea's anyone? |
25 |
|
26 |
-- |
27 |
Linux Kernel : 2.6.15-gentoo-r7 |
28 |
GCC version : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8) |
29 |
Processor : AMD Athlon XP 2600+ |
30 |
RAM : 1 GB DDR 333 SDRAM |
31 |
CFLAGS USED : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe |
32 |
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer |
33 |
-fno-crossjumping -falign-functions=16 -falign-loops=16 |
34 |
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse |
35 |
-maccumulate-outgoing-args |
36 |
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden |