List Info

Thread: Build with gcc-4.1




Build with gcc-4.1
country flaguser name
United States
2007-08-27 14:17:56
Hi Tristan,

   This allows the GFW to be build w/ gcc-4.1. 
Unfortunately the
resulting binary doesn't work, but might as well get these
cleaned up.
These are declared non-static in another header files. 
Thanks,

	Alex

Signed-off-by: Alex Williamson <alex.williamsonhp.com>
---

diff -r 5f6d57d09318
edk2-sparse/EdkXenPkg/Dxe/XenAcpi/XenAcpi.c
--- a/edk2-sparse/EdkXenPkg/Dxe/XenAcpi/XenAcpi.c	Mon Aug 27
06:07:30 2007 +0200
+++ b/edk2-sparse/EdkXenPkg/Dxe/XenAcpi/XenAcpi.c	Mon Aug 27
12:48:57 2007 -0600
 -3,7
+3,7 
 
 #define ACPI_PHYSICAL_ADDRESS 0xEC000
 
-STATIC EFI_GUID gEfiAcpi20TableGuid =
EFI_ACPI_20_TABLE_GUID;
+EFI_GUID gEfiAcpi20TableGuid = EFI_ACPI_20_TABLE_GUID;
 
 /* Copy all the ACPI table to buffer. */
 extern int acpi_build_tables(UINT8 *buf);
diff -r 5f6d57d09318
edk2-sparse/EdkXenPkg/Dxe/XenSal/XenSal.c
--- a/edk2-sparse/EdkXenPkg/Dxe/XenSal/XenSal.c	Mon Aug 27
06:07:30 2007 +0200
+++ b/edk2-sparse/EdkXenPkg/Dxe/XenSal/XenSal.c	Mon Aug 27
12:47:45 2007 -0600
 -37,7
+37,7  static struct
     }
   };
 
-STATIC EFI_GUID gEfiSalSystemTableGuid =
EFI_SAL_SYSTEM_TABLE_GUID;
+EFI_GUID gEfiSalSystemTableGuid =
EFI_SAL_SYSTEM_TABLE_GUID;
 
 extern UINT64 IpfReadKr5(VOID);
 



_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devellists.xensource.com
http://list
s.xensource.com/xen-ia64-devel

Build with gcc-4.1
country flaguser name
France
2007-08-28 03:15:57
Quoting Alex Williamson <alex.williamsonhp.com>:

> Hi Tristan,
>
>    This allows the GFW to be build w/ gcc-4.1. 
Unfortunately the
> resulting binary doesn't work, but might as well get
these cleaned up.
> These are declared non-static in another header files. 
Thanks,
Ok.

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devellists.xensource.com
http://list
s.xensource.com/xen-ia64-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )