>>>> "Kaoru" == Kaoru Fukui
<k_fukui(a)highway.ne.jp> writes:
Kaoru> Gcc doesn't have -z option which is linker option as ld.
Only on PPC. On other platforms (at least all other Linux available
to the Debian XEmacs maintainer and Solaris) where ld supports -z, gcc
does pass it through to ld, although this is not documented.
Eg, a random test program I have lying around on Debian Linux x86:
bash-2.05a$ gcc --help | fgrep -e -z # no documentation
bash-2.05a$ gcc -z nocombreloc -o test-z test.c # but it works
bash-2.05a$ ./test-z
uc << 14 = 4177920.
bash-2.05a$
Unfortunately, it's possible that even if gcc is available to use as
the linker, the linker may get called directly. So using -Wl, or
-Xlinker is risky too. :-(
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.