In the last episode (May 25), Valerio Daelli said: > Hello > we are trying to compile a statically linked bash from ports. > I edited the Makefile in /usr/ports/shells/bash with '--enable-static-link' > in CONFIGURE_ARGS. > But it didn't work (it compiled a dynamically linked one). > So I entered in work/bash-3.0 and configured by and with > > ./configure ...DEFAULT_ARGS... --enable-static-link > > But it didn't work. > So I edited every Makefile in these directories, to include in every gcc > argument -static. > But It didn't work. > That's the last compile operation (notice the -static) > > gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob > -L./lib/tilde -L./lib/sh -static -static -rdynamic -g -O2 -o bash shell.o
You need to get rid of the -rdynamic option. -- Dan Nelson [EMAIL PROTECTED] _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"