[Issue 793] New: OBJ file names conflict => linker error

Sean Kelly sean at f4.ca
Thu Jan 4 10:43:39 PST 2007


d-bugmail at puremagic.com wrote:
>
> ..obj files conflict when I use the -od flag to redirect
> intermediate output to a directory. Shouldn't obj files get the name of their
> package? So, sdl.timer.obj instead of just timer.obj.
> 
> e.g.
> 
> c:\proj> bud -odbin src/main.d

Try adding the -op option as well.  This should preserve directory 
structure in bin.  To link you'll have to perform a recursive search in 
bin for object files.


More information about the Digitalmars-d-bugs mailing list