*BSD News Article 62716


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!fnnews.fnal.gov!gw1.att.com!news.bu.edu!usenet
From: mi@aldan.bu.edu (Mikhail Teterin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Using pentiumized gcc. Impressions
Date: 4 Mar 1996 04:12:52 GMT
Organization: Aldan at Newton Upper Falls
Lines: 28
Message-ID: <4hdqk4$egh@news.bu.edu>
Reply-To: mi@ALDAN.algebra.com
NNTP-Posting-Host: ppp-84-4.bu.edu
X-Newsreader: knews 0.9.4

Kernel, built with flags "-mpentium -mno-486 -O3" works fine (so
far). Made a lot of warnings, though, especially, about comparing
signed and unsigned data. Like variable of type vn_offset_t (unsigned
long) is compared to -1 somewhere in the code, for example. Will
this be cleaned at some point? Another caveat -- clock.c would not
compile. The pentium-specific function (#ifdef-ed) has asm-statements,
which gcc-2.7.2p fails on -- have to use old cc (gcc-2.6.3) on that
one.

X11 builds (although complains about integer-pointer coversions, ANSI
violations, etc.). But, -O3 makes compiler die (with internal error)
one some C-files. Well, I built those manually with -O2.

X comes up fine, but, guess what. Xserver does not know about three
basic colors -- red, green, and blue (those which have two zeros
and one 255 in rgb -- RGB!!).

X is being entirely rebuilt with -O2 at this very time. Will see.
This in mind, I should probably rebuild the kernel too... But it
works...

ImageMagick-3.7 (not the one from ports, which is 3.6.2) builds,
but is erroneous with -O3. -O2-version seems stable (and fast).

	-mi
-- 
	"Windows for dummies"