Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 19, 2005 pragma(lib) on linux? | ||||
---|---|---|---|---|
| ||||
It doesn't look like pragma(lib,name) does anything on Linux. I couldn't find any mention of the supplied lib that dmd echos in -v verbose mode. For example try file test.d: pragma(lib,"foo"); int main(){ return 0;} dmd -v test.d -Ben |
March 19, 2005 Re: pragma(lib) on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle Attachments: | Ben Hinkle wrote: | It doesn't look like pragma(lib,name) does anything on Linux. | I couldn't find any mention of the supplied lib | that dmd echos in -v verbose mode. # Predefined Pragmas # All implementations must support these, even if by just ignoring them. Thomas |
March 19, 2005 Re: pragma(lib) on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Kühne | > | It doesn't look like pragma(lib,name) does anything on Linux.
> | I couldn't find any mention of the supplied lib
> | that dmd echos in -v verbose mode.
>
> # Predefined Pragmas
> # All implementations must support these, even if by just ignoring them.
true - but one would expect dmd to support Linux and Windows at roughly the same level. I was posting more out of an expression of (small) disappointment and surprise than a formal bug report. If dmd doesn't support the standard pragmas then who will?
|
March 20, 2005 Re: pragma(lib) on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | "Ben Hinkle" <Ben_member@pathlink.com> wrote in message news:d1hkvu$1dvp$1@digitaldaemon.com... > It doesn't look like pragma(lib,name) does anything on Linux. It will when I figure out how to embed library references in the ELF object file format. |
Copyright © 1999-2021 by the D Language Foundation