www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - "make -fposix.mak"

reply "Nick Sabalausky" <a a.a> writes:
Am I forgetting something, or is "make -fposix.mak" supposed to build the 
DMD executable on linux. I'm just getting:

make: Nothing to be done for `all'.

This is on the zipped 2.054 release, from the "src/dmd" directory.

It seemed to work for 1.066
Jul 29 2011
next sibling parent "Nick Sabalausky" <a a.a> writes:
"Nick Sabalausky" <a a.a> wrote in message 
news:j106ib$1t43$1 digitalmars.com...
 Am I forgetting something, or is "make -fposix.mak" supposed to build the 
 DMD executable on linux. I'm just getting:

 make: Nothing to be done for `all'.

 This is on the zipped 2.054 release, from the "src/dmd" directory.

 It seemed to work for 1.066
Of course, on 1.066 I used linux.mak, but my understanding is that on newer DMDs posix.mak is supposed to be used instead.
Jul 29 2011
prev sibling next sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Saturday 30 July 2011 01:59:20 Nick Sabalausky wrote:
 Am I forgetting something, or is "make -fposix.mak" supposed to build the
 DMD executable on linux. I'm just getting:
 
 make: Nothing to be done for `all'.
 
 This is on the zipped 2.054 release, from the "src/dmd" directory.
 
 It seemed to work for 1.066
It looks like it decided that there's no need to build, because there have been no changes since the last build. Try cleaning first: make -f posix.mak clean make -f posix.mak - Jonathan M Davis
Jul 29 2011
prev sibling parent "Nick Sabalausky" <a a.a> writes:
"Nick Sabalausky" <a a.a> wrote in message 
news:j106ib$1t43$1 digitalmars.com...
 Am I forgetting something, or is "make -fposix.mak" supposed to build the 
 DMD executable on linux. I'm just getting:

 make: Nothing to be done for `all'.

 This is on the zipped 2.054 release, from the "src/dmd" directory.

 It seemed to work for 1.066
I gotta learn to 1. STFU and 2. Quit the late-night coding: I realized about 15 seconds later I had already built the executable, which was still up-to-date...
Jul 29 2011