This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[GCC] A matter of size ...


Hello,

I've just compiled gcc-2.95.1 under FreeBSD 3.1.
Seems to work fine, but there is nevertheless a problem :
the size of the resulting executable files.

I tried to compile the same program (two .C files) with gcc-2.7
(shipped with FreeBSD 3.1) and gcc-2.95.1.

Here a the size in bytes :
c++ v 2.7
 dynamic   9446
 static   92209   

c++ v 2.95.1
 dynamic 398408
 static  441711

Why such a difference ?

Perhaps related to this problem, I have another question :
is gcc-2.95.1 confused by the presence of gcc-2.7 (for .h files
and libraries) ?
I compiled it with --prefix=/usr/local/gcc-2.95.1. Is this option
enough to indicate to the compiler where his .h files and libraries
are ?

Thanks in advance

Loic/Toulouse (France)

PS : Reply by mail please, the form at http://www.gnu.ai.mit.edu/software/gcc/lists.html
didn't work for me ("The requested URL /cgi-bin/ml-request was not found on this server")


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]