mknumeric_limits
Andreas Schwab
schwab@suse.de
Tue Feb 20 01:54:00 GMT 2001
Gabriel Dos Reis <gdr@codesourcery.com> writes:
|> Jeffrey A Law <law@redhat.com> writes:
|>
|> | In message < Pine.SOL.3.91.1010219120108.15655A@taarna.cygnus.com >you write:
|> | >
|> | >
|> | > Sometimes we have to use g++ instead of gcc because of __cplusplus
|> | > defines in headers. That's the case for the acinclude.m4 bits.
|> | But I don't think that using gcc for just the link step would affect
|> | that.
|>
|> Aha, are you suuggesting:
|>
|> 1) Use g++ to compile to gen-num-limits.o
|> 2) Use gcc to tranform gen-num-limits.o into an executable
You don't need to use g++ if the source for gen-num-limits.o has a
recognizable C++ extension, or -xc++ is used. gcc automatically sets up
C++ compilation in these cases.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
More information about the Gcc
mailing list