Sold. For now DRUNTIME goes in lib/ and .o files go in obj/. Please svn up inside druntime.

Andrei

On 03/24/2010 10:20 AM, Sean Kelly wrote:
I like having generated files in their own directory so they don't clutter up 
the source directories.  This is practically necessary if you want to have both 
debug and release builds anyway (without a clean in between).

On Mar 24, 2010, at 5:50 AM, Andrei Alexandrescu wrote:

Oh, indeed. I'd modified the makefile myself, but didn't check it in.

I'm unclear what the best practice is. Walter prefers to have as few 
directories as possible, and I'm with him. On the other hand I prefer to put 
generated files in a separate directory so as to not have them in my source 
open dialogs. Please vote. Until then, dsource.org is down anyway.


Andrei

On 03/24/2010 03:06 AM, Lars Tandle Kyllingstad wrote:
Andrei Alexandrescu wrote:
The posix.mak file in the root of druntime outputs the file to lib/:

DRUNTIME=lib/libdruntime.a

No?

I'm pretty sure it doesn't. I'm looking at posix.mak in the druntime
SVN now, and the relevant lines are:

6 DFLAGS=-O -release -nofloat -w -d -Iimport -Isrc
...
11 DRUNTIME=libdruntime.a
...
458 $(DMD) -lib -of$(DRUNTIME) $(DFLAGS) $(SRCS) $(OBJS)

Actually, searching the makefile I find no mention of a lib/ directory
at all.

-Lars
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to