This is the mail archive of the
mailing list for the GCC project.
Re: value of $CXX when building libraries
On Wed, Jan 10, 2001 at 09:22:24AM +0100, Gabriel Dos Reis wrote:
> Well, now I'm wondering: which value should be used to compiler and
> library tests? libstdc++/tests_flags.in is already doing flags
> computations; maybe we could start from there...
That's very true. That script does nearly all the work already. A makefile
rule could either call it, parse the results, and then use those values
directly; we wouldn't ever need a 'bin' directory.
Or if we wanted the bin directory approach, we could call tests_flags, build
a command string from the results, and then build a targetdir/bin/new-g++
around exec'ing that string.
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.