digitalmars.D.bugs - pragma(lib) on linux?
- Ben Hinkle <Ben_member pathlink.com> Mar 19 2005
- =?UTF-8?B?VGhvbWFzIEvDvGhuZQ==?= Mar 19 2005
- "Ben Hinkle" <bhinkle mathworks.com> Mar 19 2005
- "Walter" <newshound digitalmars.com> Mar 20 2005
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
Mar 19 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFCPI3x3w+/yD4P9tIRApCPAJ437pwE/jSUkFFnFzdGe3VGKbs+9QCfcu++ eMk3497m+pfoo8XnQH9Yx5k= =TEUx -----END PGP SIGNATURE-----
Mar 19 2005
| 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?
Mar 19 2005
"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.
Mar 20 2005









"Ben Hinkle" <bhinkle mathworks.com> 