Ar an 15u la de mi 10, scriobh John Ronan :
>
> On 15-Oct-01 Aidan Kehoe wrote:
> > cc -Wall -W -Wshadow -Wformat -pedantic -O3 -g -c c.c
> > c.c: In function `our_main':
> > c.c:12: warning: flag `#' used with type `p'
> > 7:40am ~ > cc -shared -o c.so c.o
> > 7:40am ~ > file c.so
> c.so: ELF 64-bit LSB shared object, Alpha (unofficial), version 1, not stripped
On Tru64 5.1 (Alpha), it's position-independent by default for me as
well, but on Solaris 2.8 (sparc) it seems to be position-dependent by
default, much like OpenBSD on sparc. So, yeah, it's almost certainly a
question of architecture.
(I'm sure Brendan Kehoe could enlighten us, if he's reading ... :-)
--
`... when the elephant man broke strong men's necks, when he'd had too
many Powers, ...'
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!