Subject: Re: upgrade to -current
To: Jaromir Dolecek <dolecek@ics.muni.cz>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 03/24/1997 00:07:38
On Mon, 24 Mar 1997 08:40:16 +0100 (MET) 
 Jaromir Dolecek <dolecek@ics.muni.cz> wrote:

 > Please what I need to succesfully build new -current kernel on 1.2
 > environment ? I have downloaded & installed new make, config,
 > /usr/share/mk/* But the compilation bombs on fact gcc's printf
 > doesn't know anything about %:, %b; these are used in 1.2 kernel's
 > source and 1.2 kernel compiles w/o problems .. Is there anything
 > I'm missing ? Please point me to right place ...

If you want to use a gcc that's not in the tree, you need to turn
off -Wformat (i.e. use -Wno-format after the last -W switch).  We've
"taught" the in-tree gcc (a slightly modified 2.7.2) about our additional
printf formats (which we are in the process of purging).

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939