Operating System - Linux
1752448 Members
6273 Online
108788 Solutions
New Discussion юеВ

Re: huge libraries generated with aCC

 
joao.brites
New Member

huge libraries generated with aCC

Hi,

I think I have problems in the generation of the objects in hp ux.

I has compiled an static lib in hp ux (aCC), tru64 (cxx), linux (gcc) and windows xp (vc8) with the same C++ source code.

The lib generated has 11 Mb in the tru64 and linux, 35 Mb in the windows xp (vc8) and 800 Mb in the hp ux.

I have no errors and the software works well for all platforms, but in the hp ux the lib has a huge size. In the hp ux, I have huge objects.

For compile the debug version

tru64: cxx -c -D_REENTRANT -std ms -
r -using_std -ptr -I/... -o /...

hp ux: aCC -c +DD64 -Wl,+as,mpas -D_REENTRANT -lpthread -mt -g -I/... -o /...

aCC: HP C/aC++ B3910B A.06.13 [Nov 27 2006]
HP-UX B.11.23 U ia64

Thank you for any help, feedback or suggestions.

Joao
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: huge libraries generated with aCC

Keep an eye on this other, very similar thread:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1201855


Pete

Pete
Dennis Handly
Acclaimed Contributor

Re: huge libraries generated with aCC

>I think I have problems in the generation of the objects in hp-ux.

Since there is nothing you can do about it, please put it out of your mind. :-)

>I has compiled an static lib

By this, did you mean an archive lib? This will shrink down when you link.

What size are you measuring? The output from size(1) or ll(1)? Only the former is important, unless you are out of room on your CD. Using -g will also bloat your objects.

The latest version is A.06.16.