Object file extensions

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Jan 21 12:36:39 PST 2014


On Tue, Jan 21, 2014 at 12:29:56PM -0800, Walter Bright wrote:
> On 1/21/2014 10:38 AM, Russel Winder wrote:
> >The tradition (AIUI) on Linux is for PIC object files to have
> >extension .os. DMD however refuses to recognize this extension. Is this
> >something to fix?
> 
> Hmm, I've never heard of that tradition! And:
> 
>     cc foo.c -c -fPIC
> 
> generates foo.o, not foo.os (on Ubuntu).

I would've thought it was .so, not .os. Perhaps a typo on the part of
the OP?


T

-- 
Nearly all men can stand adversity, but if you want to test a man's character, give him power. -- Abraham Lincoln


More information about the Digitalmars-d mailing list