Re: Library tripled in size with GCC 4.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Oct 15, 2008, at 4:11 PM, Lawrence Crowl wrote:

On 10/15/08, Eric Gorr <mailist@xxxxxxxxxxxx> wrote:
Are there any flags I have missed that might allow the actively
developed library to safely become smaller?

You could try either

-femit-struct-debug-reduced
-femit-struct-debug-baseonly

These options eliminate struct debug information that is usually
duplicated.  There are some cases where they will eliminate too much,
so you will need to try it in your environment.

thanks.

I checked the man page for GCC and I didn't see those options mentioned.

Here is more specific information about what I am using:

/usr/bin $gcc-4.2 --version
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

/usr/bin $ld -v
@(#)PROGRAM:ld  PROJECT:ld64-85.2.1

/usr/bin $libtool -V
Apple Computer, Inc. version cctools-698.1


The specific error message I am getting is:

/Developer/usr/bin/libtool: can't vm_allocate() buffer for output file: libCore.a of size 1206037468 ((os/kern) no space available)



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux