Thread overview
Object file extensions
Jan 21, 2014
Russel Winder
Jan 21, 2014
Walter Bright
Jan 22, 2014
David Nadlinger
Jan 22, 2014
Jacob Carlborg
Jan 22, 2014
Markus Dittrich
January 21, 2014
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?
-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

January 21, 2014
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).

January 22, 2014
On Tuesday, 21 January 2014 at 20:29:57 UTC, 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!

I haven't come across that either. Maybe some build system (or helper program like libtool) does/did this under the hood?

David
January 22, 2014
On 2014-01-21 21:29, Walter Bright wrote:

> Hmm, I've never heard of that tradition!

I haven't seen it either.

-- 
/Jacob Carlborg
January 22, 2014
On Tuesday, 21 January 2014 at 18:38:44 UTC, 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?

Instead of .os you perhaps meant to write .so, which would
be the extension for a Linux shared object file (and thus PIC)?