digitalmars.D - dmd linux makefile
- Trass3r (4/4) Jul 13 2011 Why is it still necessary to edit the linux makefile in order to switch ...
- Trass3r (1/1) Jul 13 2011 Oh and any reason why it only uses -O2 in release mode?
- Robert Clipsham (7/8) Jul 13 2011 -O2 is standard across most linux distributions. There's some discussion...
- Jonathan M Davis (4/8) Jul 13 2011 It's not, use MODEL=32 or MODEL=64 if you want to switch between the com...
- Trass3r (1/3) Jul 13 2011 Ah true, always forget that way to set variables.
- Jonathan M Davis (4/8) Jul 13 2011 It's the same convention that druntime and Phobos using for choosing to
Why is it still necessary to edit the linux makefile in order to switch between release and debug or 32 vs. 64 bit? The windows one has had proper targets at least for the former issue for ages.
Jul 13 2011
On 13/07/2011 16:14, Trass3r wrote:Oh and any reason why it only uses -O2 in release mode?-O2 is standard across most linux distributions. There's some discussion more with some googling though. -- Robert http://octarineparrot.com/
Jul 13 2011
On Wednesday 13 July 2011 17:13:54 Trass3r wrote:Why is it still necessary to edit the linux makefile in order to switch between release and debug or 32 vs. 64 bit? The windows one has had proper targets at least for the former issue for ages.It's not, use MODEL=32 or MODEL=64 if you want to switch between the compiler being compiled as 32-bit or 64-bit. - Jonathan M Davis
Jul 13 2011
It's not, use MODEL=32 or MODEL=64 if you want to switch between the compiler being compiled as 32-bit or 64-bit.Ah true, always forget that way to set variables.
Jul 13 2011
On Wednesday 13 July 2011 17:25:45 Trass3r wrote:It's the same convention that druntime and Phobos using for choosing to between compiling the 32-bit and 64-bit versions of themselves. - Jonathan M DavisIt's not, use MODEL=32 or MODEL=64 if you want to switch between the compiler being compiled as 32-bit or 64-bit.Ah true, always forget that way to set variables.
Jul 13 2011