From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BwdlR-0005WT-Iz for mharc-grub-devel@gnu.org; Mon, 16 Aug 2004 05:26:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BwdlQ-0005WN-MX for grub-devel@gnu.org; Mon, 16 Aug 2004 05:26:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BwdlO-0005WB-Nz for grub-devel@gnu.org; Mon, 16 Aug 2004 05:26:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BwdlO-0005W8-KO for grub-devel@gnu.org; Mon, 16 Aug 2004 05:26:46 -0400 Received: from [64.4.16.82] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BwdhG-0000HS-Us for grub-devel@gnu.org; Mon, 16 Aug 2004 05:22:31 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 16 Aug 2004 02:22:29 -0700 Received: from 194.7.240.2 by by22fd.bay22.hotmail.msn.com with HTTP; Mon, 16 Aug 2004 09:22:29 GMT X-Originating-IP: [194.7.240.2] X-Originating-Email: [lode_leroy@hotmail.com] X-Sender: lode_leroy@hotmail.com From: "lode leroy" To: grub-devel@gnu.org Bcc: Date: Mon, 16 Aug 2004 11:22:29 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Aug 2004 09:22:29.0471 (UTC) FILETIME=[8D6196F0:01C48372] Subject: Re: problems compiling NTFS on GRUB2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 09:26:48 -0000 >Ok. But I assume you have to add something in order to link it to the >library? ah, yes indeed... + grub_setup_LDFLAGS = libntfs.a + grub_emu_LDFLAGS = libntfs.a ntfs.mod: pre-ntfs.o mod-ntfs.o -rm -f $@ - $(LD) -r -o $@ $^ + $(LD) -r -o $@ $^ libntfs.a $(STRIP) --strip-unneeded -K grub_mod_init -K grub_mod_fini -R .note -R .comment $@ Would you have suggestions on compile flags needed to compile libntfs for grub? (now they are -g -O2 -MT -MD -KP -MF ) >I don't think it is easy and clean to use libntfs. I figure that libntfs was intended to be " a library to avoid code duplication and provide access to NTFS to other GPLed programs " therefore I assume that using this effort would result in the better solution. >But the best way to implement NTFS is by writing it yourself. It is >on my todo already, or do you want to do this? I have no intention whatsoever to implement an ntfs driver... providing the glue between grub and libntfs is/should be a much smaller effort... Unless you're telling me trying to do this is a lost effort? >Another thing to consider is its size. ntfs.mod is 74KB . I don't thinks thats insurmountable... -- lode _________________________________________________________________ Don't just search. Find. http://search.msn.be