This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to compile same source multiple times?


>>>>> On 24 Feb 2002 11:52:50 -0700, Tom Tromey <tromey@redhat.com> said:

>>>>> "David" == David Mosberger-Tang <David.Mosberger@acm.org> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]