I noticed last night that my elf-ncurses executables are huge. Do I need to do any more than I am doing to build them properly?
Script started on Mon Dec 25 09:29:11 1995 root:/root# cat x.c #include <curses.h> main() { initscr(); endwin(); } root:/root# cat /usr/local/bin/aout #!/bin/sh PATH=/usr/i486-linuxaout/bin:$PATH; "$@" root:/root# cc -o xncurses x.c -lncurses root:/root# aout cc -o xcurses x.c -lcurses root:/root# file x* x.c: C program text xcurses: Linux/i386 demand-paged executable (QMAGIC) xncurses: ELF 32-bit LSB executable, Intel 80386, version 1 root:/root# ls -l x* -rw-r--r-- 1 root root 62 Dec 25 09:22 x.c -rwxr-xr-x 1 root root 13169 Dec 25 09:30 xcurses -rwxr-xr-x 1 root root 139850 Dec 25 09:29 xncurses root:/root# ldd x*cur* xcurses: libcurses.so.0 (DLL Jump 0.1pl2) => /lib/libcurses.so.0.1.2 libc.so.4 (DLL Jump 4.6pl27) => /lib/libc.so.4.6.27 xncurses: libc.so.5 => /lib/libc.so.5.2.16 root:/root# exit Script done on Mon Dec 25 09:31:54 1995