Re: Build/Development environments...

2002-06-14 Thread James Olin Oden
> > On Fri, 14 Jun 2002, James Olin Oden wrote: > > The only issue with that is how well it scales. Also, I quickly did > > look at it and it looks like you have to provide a file per environment > > (i.e. representing the HD). I bet you could have that file live on a NFS > > mount, but again I

Re: Build/Development environments...

2002-06-14 Thread K. Spoon
On Fri, 14 Jun 2002, James Olin Oden wrote: > > http://user-mode-linux.sourceforge.net/ > > > > With it, you create a series of independent virtual Linux boxes. > > > The only issue with that is how well it scales. I wouldn't use it for a build environment if speed is important. :-( There's

Re: Build/Development environments...

2002-06-14 Thread John Summerfield
> > > > Have you looked at UML (User Mode Linux) > > > No I haven't but that is exactly the sort of thing I was looking for. > Not that its the perfect soultion necessarily (I still have to play > with it), but I needed some advice from out side the box I was > thinking in (-: > > http://user

re: Build/Development environments...

2002-06-14 Thread Greg Freemyer
Have you looked at UML (User Mode Linux) http://user-mode-linux.sourceforge.net/ With it, you create a series of independent virtual Linux boxes. What you load on what virtual box is up to you. Conceptually, even kernel panics are kept isolated to their own virtual box. I have not yet used

re: GCC Differences

2002-06-14 Thread Greg Freemyer
Chris, As all have said, your missing the return. Another mistake in my opinion is using == with floats. You cannot depend on that to work. This is just the nature of floating point numbers. In your case b is probably 20.01 or something like it. The printf is showing 20.00 b

Re: Build/Development environments...

2002-06-14 Thread Dan Hollis
On Fri, 14 Jun 2002, James Olin Oden wrote: > The only issue with that is how well it scales. Also, I quickly did > look at it and it looks like you have to provide a file per environment > (i.e. representing the HD). I bet you could have that file live on a NFS > mount, but again I wonder how i

Re: Build/Development environments...

2002-06-14 Thread James Olin Oden
> > Have you looked at UML (User Mode Linux) > No I haven't but that is exactly the sort of thing I was looking for. Not that its the perfect soultion necessarily (I still have to play with it), but I needed some advice from out side the box I was thinking in (-: > http://user-mode-linux.sour

re: Build/Development environments...

2002-06-14 Thread Greg Freemyer
Have you looked at UML (User Mode Linux) http://user-mode-linux.sourceforge.net/ With it, you create a series of independent virtual Linux boxes. What you load on what virtual box is up to you. Conceptually, even kernel panics are kept isolated to their own virtual box. I have not yet used

Build/Development environments...

2002-06-14 Thread James Olin Oden
Hi All, I have been given the task reasearching possible ways of setting up a development environment such that: - Multiple releases can be supported on the same machine (e.g. the perl in the 7.3 and 7.2 on the same machine). - Try to avoid rebuilding (and altering) the

how to make a customized RH7.2 cd with anaconda

2002-06-14 Thread upendra gandhi
Hi all My problem is tht i have 100mb of rpms from cd1 and cd2 which r installed by default when no single package is selected oknow i wanna make one bootable /installer cd with these rpms so tht the user no need to selectanything and installation happens automatically bye upendra  Do You Yahoo!? S

Re: GCC Differences

2002-06-14 Thread Chris Rode
On 14 Jun 2002, Guillaume Cottenceau wrote: > Chris Rode <[EMAIL PROTECTED]> writes: > > [...] > > > float toot(int x, float y) { > >if (y == 20) { > > return y; > >} else { > > toot(x, x*y); (**) > >} > > } > > > > > > Compiled with Red Hat's gcc 2.96, I

re: GCC Differences

2002-06-14 Thread Greg Freemyer
Chris, As all have said, your missing the return. Another mistake in my opinion is using == with floats. You cannot depend on that to work. This is just the nature of floating point numbers. In your case b is probably 20.01 or something like it. The printf is showing 20.00 b

Re: GCC Differences

2002-06-14 Thread James Olin Oden
> > float toot(int x, float y) { >if (y == 20) { > return y; >} else { > toot(x, x*y); >} > } The code itself is broken as other have said you need: return(toot(x, x*y)); The reason it ever did work has to do with the internal mechanics of how function calls are

Re: GCC Differences

2002-06-14 Thread Guillaume Cottenceau
Chris Rode <[EMAIL PROTECTED]> writes: [...] > float toot(int x, float y) { >if (y == 20) { > return y; >} else { > toot(x, x*y); (**) >} > } > > > Compiled with Red Hat's gcc 2.96, I get "nan" (however, If I take out > the recursive call, and just return

Re: GCC Differences

2002-06-14 Thread John Summerfield
> I'm honestly not trying to resurrect some gcc 2.96 flame war or anything > here, but I'm not a very seasoned C programmer, and I've run across an > inconsistancy between Red Hat's version of gcc, and gcc 2.95.4 on a Debian > system. Consider the following uninspired, pointless piece of code:

Re: GCC Differences

2002-06-14 Thread Raymond Fung
Dear Chris, Your recurse statment should read : return (toot (x, x * y)); instead of just : toot (x, x * y); Regards, Raymond Chris Rode wrote: > I'm honestly not trying to resurrect some gcc 2.96 flame war or anything > here, but I'm not a very seasoned C programmer, and I've run