> 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
Just to add a littel snippet...
Some architectures have naturally position-independent
code. For example, on VAX, it's trivially easy to
generate PIC code since everything can be made
PC-relative very easily.
Unlike silly archs like IA32 where you need to keep
base address registers handy or have loads of relocations
at load time...
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!