TIP: Click on subject to list as thread! ANSI
echo: linux
to: Andrew Alt
from: Maurice Kinal
date: 2021-04-29 22:58:00
subject: read them and weep (gcc 1

-={ 2021-04-29 22:58:35.514341372+00:00 }=-

Hey Andrew!

 AA> I built rmw with problem, added the -fanalyzer flag.

With or without I get the same result;

 # ls -al ./rmw
 -rwxr-xr-x 1 root root 62712 Apr 29 22:57 ./rmw
 # file ./rmw
 ./rmw: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not stripped

After stripping;
 # ls -al ./rmw
 -rwxr-xr-x 1 root root 52640 Apr 29 23:03 ./rmw
 # file ./rmw
 ./rmw: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

My unstripped is larger but the stripped version is slightly smaller.  For the record my CFLAGS="-march=x86-64 -mtune=generic -Os -pipe -m64 -fPIC".

And just to make sure;
 # gcc --version
 gcc (GCC) 11.1.0
 Copyright (C) 2021 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.

Looks good from this angle.

Life is good,
Maurice

... Don't cry for me I have vi.
--- GNU bash, version 5.1.4(1)-release (x86_64-motorshed-linux-gnu)
         
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.