WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] use-large-file-api.patch

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] use-large-file-api.patch
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Wed, 20 Apr 2005 17:06:01 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Apr 2005 00:01:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
Support > 2G root fs on i386.

Signed-off-by: Xin B Li <xin.b.li@xxxxxxxxx>
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

Index: trunk/tools/ioemu/iodev/Makefile
===================================================================
--- trunk/tools/ioemu/iodev/Makefile    (revision 615)
+++ trunk/tools/ioemu/iodev/Makefile    (revision 617)
@@ -1,5 +1,11 @@
 TOPDIR= ..
 CXXFLAGS=-I. -I../include -I..
+
+ARCH=$(shell uname -i)
+ifeq ($(ARCH), i386)
+CXXFLAGS+=-D_FILE_OFFSET_BITS=64
+endif
+
 OBJS=$(patsubst %.cc,%.o,$(wildcard *.cc))
 BXLIBS = ../gui/libgui.a ../memory/libmemory.a  
 LDLIBS= $(BXLIBS) -L/usr/X11R6/lib -lX11 -lXpm -lstdc++ -L 
../../../tools/libxc -L ../../../tools/libxutil -lxc -lxutil -lpthread -lncurses

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] use-large-file-api.patch, Arun Sharma <=