POV-Ray : Newsgroups : povray.unix : [beta] source distribution of POV-Ray 3.6 for UNIX : Re: [beta] source distribution of POV-Ray 3.6 for UNIX Server Time
5 Jul 2024 13:04:55 EDT (-0400)
  Re: [beta] source distribution of POV-Ray 3.6 for UNIX  
From: Nicolas Calimet
Date: 3 Jul 2004 08:23:46
Message: <40e6a552@news.povray.org>
> with builddir!=sourcedir

	Yes, I've learnt the lesson  :-)

> Then, I downloaded the sources without the bundeled libraries

	Eh ?  How can you download a package which does not exist ?  ;-)

> Running configure had some trouble: It detected pentiumpro optimization 
> for my AthlonXP. This is because $host=i686 and "uname -p" yields an error 
> because uname (at least on my debian system) does not know the option -p.

	Yes, that's a problem currently.  Note the p4 and Athlon XP optimizations
were added very lately in configure.ac, and I didn't try to make them work in
all situations (e.g. FreeBSB seems to report "i386" for an Athlon XP, which means
there is currently no chance to optimize much for it although I included some
basic support for FreeBSD with i686...)

>     case "$(fgrep "model name" /proc/cpuinfo | head -1)" in
>       *Athlon*XP*)  etc ... ;;

	This is something I considered to do, but did not yet.
	I will consider it again as an alternative to 'uname -p'.

> especially note the "head -1" which is needed for SMP/HT 
> systems.

	Ah, right, good point.  Thanks.

> I'd suggest to use the /proc/cpuinfo primarily if we're not cross-compiling 
> and /proc/cpuinfo is available.

	Damn I forgot cross-compiling here, thanks again !
	BTW, are you able to test the build system in a cross-compiling
environment ?  INSTALL says I'd be glad to see if it works  :-)

> flags           : fpu vme de tsc msr pae mce cx8 sep mtrr pge mca cmov pat
> pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
> Especially note "sse".

	Note I'm already using these flags in configure.ac (in principle
you should get an -msse -fpmath=sse, don't you ?).

> However, I did not test the installation routines since I am always using 
> POVRay directly from the build directory.

	Rhoooo  ;-)

> Great compliment to the HTML documentation.

	The docs are not at all specific to the UNIX packages (only the
first chapter of course), and I'm not the one to thank for this kind of
improvements  :-)

> So, this was my feedback on _compiling_ the sources. I'll post something 
> about the sources itself in p.programming shortly.

	Note again that the official sources will be available in due course,
so I'd suggest starting such kind of discussion after they are released.

	Thanks for testing,
	- NC


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.