gcc iussue or ... ?
Don Bowman
don at sandvine.com
Fri Apr 11 16:10:16 PDT 2003
Gianmarco Giovannelli wrote:
> The problem is very simple.
> I mantain a unix/linux port of a UO emulator which works really fine
> natively under FreeBSD.
>
> The problem is that if I compile it under FreeBSD it is a binary of 19M,
> while on linux (debian 3.0), same Makefile, is only 2MB.
> FreeBSD 5.0 and
> OpenBSD 3.1 produce the (about) 19M file.
> Mingw compiler under windows act like Linux.
one thing I normally try is
nm --size-sort --print-file-name *.o
and then look for an outlier, one that is much bigger than
the others.
More information about the freebsd-hackers
mailing list