| Thread overview | |||||||
|---|---|---|---|---|---|---|---|
| 
 | 
| January 21, 2014Object file extensions | ||||
|---|---|---|---|---|
| 
 | ||||
| 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, 2014Re: Object file extensions | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to Russel Winder | 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, 2014Re: Object file extensions | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to Walter Bright | 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, 2014Re: Object file extensions | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to Walter Bright | 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, 2014Re: Object file extensions | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to Russel Winder | 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)?
 | |||
Copyright © 1999-2021 by the D Language Foundation
  Permalink
Permalink Reply
Reply