Skip to contentSkip to conversation

RedHat 5.0 RPMs for SGI...

DISCUSSION Emmanuel Mogenet 2 participants 2 messages Jan 10, 1998 MIPS

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

For example, 'su' takes up 4.5MB. This seems like an awful lot to me, compared to the Intel equivalent of 1MB. I know the binaries are going to be larger because of the RISC thing, but really that large?

Is this normal?

Here, on the stuff we're working on, we experience that a DLL compiled with visual C++ in full optimization mode is on average 2.5 times smaller than the exact same code compiled into a DSO under IRIX 6.2 with compiler at -O3 -n32 -mips3.

I don't know about gcc under IRIX, but I've never seen a factor of 4 pop up before.

That seems like an awful lot.

- Mgix

#1 lore raw
Quoted 6 lines · Emmanuel Mogenet
Quoted 6 lines

For example, 'su' takes up 4.5MB. This seems like an awful lot to me, compared to the Intel equivalent of 1MB. I know the binaries are going to be larger because of the RISC thing, but really that large?

Quoted 7 lines
Quoted 1 line

Is this normal?

Here, on the stuff we're working on, we experience that a DLL compiled with visual C++ in full optimization mode is on average 2.5 times smaller than the exact same code compiled into a DSO under IRIX 6.2 with compiler at -O3 -n32 -mips3.

Note that SGI's compiler seems to be more trimmed for speed and may sometimes do massive loopunrolling etc. while the M$ compilers tend to produce relativly compact code.

Quoted 2 lines

I don't know about gcc under IRIX, but I've never seen a factor of 4 pop up before.

Duh... regarding my last post - though Alex was refering to the in memory size. If his Linux executables are really that big might be producing static linked ones or containing debug info.

Ralf