This is the homepage of Peter Alexander. I am currently at Facebook working on AR/VR. Any opinions are my own.
Recent Posts
- Single-Threaded Parallelism
- unique_ptr Type Erasure
- The Condenser Part 1
- Cube Vertex Numbering
- Range-Based Graph Search in D
All Posts
Links
github.com/Poita@Poita_
Atom Feed
Linking Frameworks With DMD
Posted: 2012-06-01 - Link
Little tip for OS X D Programming Language users: if you want to link with
frameworks, the correct flags for dmd
are:
dmd -L-framework -LCoreFoundation test.d
This goes in general for any linker flags with arguments, because dmd
uses
-Xlinker to pass the arguments to ld
.