Path: utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!JUNE.CS.WASHINGTON.EDU!pardo From: pardo@JUNE.CS.WASHINGTON.EDU Newsgroups: gnu.g++.bug Subject: 1.34.2 Makefile strangeness... Message-ID: <8904281914.AA27474@june.cs.washington.edu> Date: 28 Apr 89 19:14:12 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24 The `Makefile' for 1.34.2 (and maybe others) figures out what flags to use by doing extensive comparisons of machine-dependent files. This seems kludgy to me for two reasons: first, because it reqires a bunch of machine dependencies to be scattered through the makefile, and second because it looks strange when I run a `make'. The second is a problem, because I don't expect to see `68000' when I'm making for a VAX! I'll suggest that a bunch of these things could be packaged up in to a single machine-dependent shell script, e.g., `config.flags'. Much as config.g++ takes a machine specifier, `config.flags' could take a machine specifier and a flag name. For maintainence reasons, it might be preferable to bundle config.g++ and config.flags together. I could then do config.g++ `machine` make TARGET=`machine` Hope this is useful! ;-D on ( A user's strangeness... ) Pardo