Skip to contentSkip to conversation

set correct gcc version in INSTALL

PATCH In review Vincent Guffens 3 participants 4 messages Aug 11, 2005 – Aug 15, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 set correct gcc version in INSTALL

The first reference I could find in the gcc doc about unnamed union was in 3.1.1,

http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Unnamed-Fields.html#Unnamed%20Fields

If someone is however interrested, I have a version of grub (at least 6 months old) which compiles with 2.95.

ChangeLog Thu Aug 11 11:31:11 2005 renamed from ChangeLog Tue Aug 9 16:39:50 2005 +3 -0
diff -ru grub2/ChangeLog grub2-gcc-ver/ChangeLog
@@ -1,3 +1,6 @@
+2005-08-11  Vincent Guffens <[email protected]>
+       * INSTALL: needed gcc version is >= 3.1.1 because of unnamed union
+
 2005-08-09  Vesa Jaaskelainen  <[email protected]>
 
        * conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/vbe.h.
INSTALL Thu Aug 11 11:28:46 2005 renamed from INSTALL Sun Apr 4 15:45:59 2004 +1 -1
diff -ru grub2/INSTALL grub2-gcc-ver/INSTALL
@@ -11,7 +11,7 @@
 you don't have any of them, please obtain and install them before
 configuring the GRUB.
 
-* GCC 2.95 or later
+* GCC 3.1.1 or later
 * GNU Make
 * GNU binutils 2.9.1.0.23 or later
 * Other standard GNU/Unix tools
Signature · 6 lines
				Vincent Guffens
				PhD Student UCL/CESAME
				tel:   +32 10 47 80 30
Value your freedom, or you will lose it, teaches history.
"Don't bother us with politics," respond those who don't want to learn.
	      	-- Richard M. Stallman
#1 lore raw
Quoted 5 lines · Vincent Guffens

The first reference I could find in the gcc doc about unnamed union was in 3.1.1,

http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Unnamed-Fields.html#Unnamed%20Fields

If someone is however interrested, I have a version of grub (at least 6 months old) which compiles with 2.95.

I can check this in, but it seems like it would be even better to avoid unnamed unions. How big was the patch? I guess it was mostly filesystem code?

-Hollis

#2 lore raw

On Sun, 14 Aug 2005 22:29:41 -0500, Hollis Blanchard wrote

Quoted 8 lines · Vincent Guffens
Quoted 7 lines

The first reference I could find in the gcc doc about unnamed union was in 3.1.1,

http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Unnamed-
Fields.html#Unnamed%20Fields

Quoted 7 lines
Quoted 2 lines

If someone is however interrested, I have a version of grub (at least 6 months old) which compiles with 2.95.

I can check this in, but it seems like it would be even better to avoid unnamed unions. How big was the patch? I guess it was mostly filesystem code?

yes it was. In fact I realize that I sent the patch already to the list. The previous post is there :
http://lists.gnu.org/archive/html/grub-devel/2005-03/msg00001.html

Nothing was changed at that time. Maybe having the support for 2.95 isn't worth the change ?

Quoted 6 lines

-Hollis

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

--
Vincent Guffens
UCL/CESAME +32 10 47 80 30
Euler Building A017

#3 lore raw
Quoted 6 lines · Vincent Guffens

yes it was. In fact I realize that I sent the patch already to the list. The previous post is there :
http://lists.gnu.org/archive/html/grub-devel/2005-03/msg00001.html

Nothing was changed at that time. Maybe having the support for 2.95 isn't worth the change ?

I'd like to leave this decision to Marco, as he is the author of the files. For me, 2.95 is not important, because most operating systems have migrated to 3.x or 4.0. But 2.95 is still the best version WRT the stability.

Okuji