Hubert Feyrer | 2 Sep 2003 15:34
Picon

non-fpic but still relocatable?


If I build a file w/o "-fpic", why does file(1) still say it's
"relocatable"?

rfhpc8133% cc -I. -fpic -c bla.c
rfhpc8133% file bla.o
bla.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
rfhpc8133% cc -I. -c bla.c
rfhpc8133% file bla.o
bla.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
                      ^^^^^^^^^^^

 - Hubert

P.S.: thats on 1.6.1

--

-- 
  ___ _ _  _   _        * Harddisk Image Cloning *
 / __| | || | | |           www.feyrer.de/g4u/
| (_ |_  _| |_| |
 \___| |_| \___/          v1.12 out now, including partition support!


Gmane