The following is the configuration of my PC . I got it from /proc

In short it is a Intel core 2 duo 2.20 Ghz machine with 2 GB of ram
and 200 gb of HDD.

I need to know is the configuration sufficient for compiling the program.


processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
stepping        : 13
cpu MHz         : 2200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3
cx16 xtpr lahf_lm
bogomips        : 4391.88
clflush size    : 64

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
stepping        : 13
cpu MHz         : 2200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3
cx16 xtpr lahf_lm
bogomips        : 4388.99
clflush size    : 64

MemTotal:      2064672 kB
MemFree:       1282272 kB
Buffers:        120352 kB
Cached:         251616 kB
SwapCached:          0 kB
Active:         415488 kB
Inactive:       192468 kB
HighTotal:     1169096 kB
HighFree:       670592 kB
LowTotal:       895576 kB
LowFree:        611680 kB
SwapTotal:     2031608 kB
SwapFree:      2031608 kB
Dirty:              40 kB
Writeback:           0 kB
AnonPages:      235980 kB
Mapped:          82784 kB
Slab:            30556 kB
SReclaimable:    10944 kB
SUnreclaim:      19612 kB
PageTables:       5216 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   3063944 kB
Committed_AS:   866304 kB
VmallocTotal:   110584 kB
VmallocUsed:      6348 kB
VmallocChunk:   104088 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
Hugepagesize:     4096 kB


On Tue, Aug 12, 2008 at 2:21 PM, Rene Herman <[EMAIL PROTECTED]> wrote:
> On 12-08-08 09:54, rishi agrawal wrote:
>
>> I was trying to use the xgprof utility.
>>
>> Its has a piece of code bundled with it named as "big.c"
>>
>> On compiling it i got the error message
>>
>> [EMAIL PROTECTED] test]# gcc big.c
>>
>> cc1: out of memory allocating 19208 bytes after a total of 1803980800
>> bytes
>>
>>
>> so how do i compile it .
>>
>> On running cat big.c | wc -l the output was 2749876 lines
>
> The idea is to compile it with gcc -pg as a profiler testcase (through a
> plain "make" from the test directory) but that won't make anything better.
>
> Your total is a little short of 2G which is getting to be close to a value
> where you'd first have to answer the question whether you're using a 32-bit
> or 64-bit system.
>
> Assuming though it's 64-bit or 32-bit with the normal 3:1 addressspace
> split, the answer's likely just that your patience is bigger than your
> amount of RAM + swap.
>
> When I interrupted the thing it had only grown to 400M (on a 32-bit system)
> and didn't seem terribly keen on growing larger than that but if you just
> waited a long time there's probably nothing wrong. Or your GCC leaks...
>
> Rene.
>
>



-- 
Regards,
Rishi B. Agrawal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to