On Sat, 02 Mar 2013 15:57:11 +0900
"Stephen J. Turnbull" <stephen(a)xemacs.org> wrote:
rh writes:
> Is this the correct flag to create a statically linked xemacs?
>
> --without-dynamic
Yes, but it may not be sufficient by itself. Many "modern" distros
don't bother to provide static libraries, or have a policy against
providing certain static libraries that XEmacs needs to link to
(perhaps indirectly).
You are right about missing static libraries. I don't understand
what motivates distros to do this?
Of course it's up to you, but I wonder why you want to do this?
XEmacs has suffered from a number of defects in system libraries over
the past few years. I would say that the number I've suffered from
them personally is about the same as the number of times Gentoo has
removed a library out from under me and I've had to relink XEmacs.
Yes, I wanted to try to build it statically to copy it but I've given
up on this.
> I tried this but configure fails to complete.
Meaning what? If you mean a fatal error saying "you can't do that" or
"C compiler can't build executables", my guess would be that you have
a distro that doesn't properly support static linkage.
I got an error about libgcc_s not found. All the error reports for that
message said to upgrade gcc and I gave up on this pursuit.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta