Compilation strategy

H. S. Teoh hsteoh at quickfur.ath.cx
Sat Dec 15 10:44:56 PST 2012


On Sat, Dec 15, 2012 at 06:42:27PM +0000, Iain Buclaw wrote:
> On 15 December 2012 16:55, Russel Winder <russel at winder.org.uk> wrote:
> 
> > A quick straw poll.  Do people prefer to have all sources compiled
> > in a single compiler call, or (more like C++) separate compilation
> > of each object followed by a link call.
> >
> > Thanks.
> >
> >
> I do believe there are still some strange linker bugs that occur if
> you compile separately vs. single compilation.  Don't ask for
> examples, it'll take me hours or days to hunt them down in my
> archives. :-)
[...]

Isn't that just some compiler bugs that sometimes cause certain symbols
not to be instantiated in the object file? IMO, such bugs should be
fixed in the compiler, rather than force the user to compile one way or
another.


T

-- 
Bare foot: (n.) A device for locating thumb tacks on the floor.


More information about the Digitalmars-d mailing list