automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to compile same source multiple times?


From: David Mosberger-Tang
Subject: Re: how to compile same source multiple times?
Date: Mon, 25 Feb 2002 09:37:50 -0800

>>>>> On 24 Feb 2002 11:52:50 -0700, Tom Tromey <address@hidden> said:

>>>>> "David" == David Mosberger-Tang <address@hidden> writes:
  David> For example, I have a file called foo.c and I'd like to
  David> compile it once with the normal options and once with -DBAR
  David> defined.  The resulting two objects would have to go into the
  David> same library (foo.c will define different global symbols
  David> depending on whether or not BAR is defined).

  Tom> Interesting.  There's no automatic way to do this.

Too bad.  I guess I'll have to bite the bullet for now and statically
include the stub files.

Thanks for the help.

        --david



reply via email to

[Prev in Thread] Current Thread [Next in Thread]