Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 5 Nov 2002 11:02:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 5 Nov 2002 11:02:16 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:44304 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 5 Nov 2002 11:02:05 -0500 Date: Tue, 5 Nov 2002 08:08:24 -0800 (PST) From: Linus Torvalds To: Kai Germaschewski cc: "David S. Miller" , Kernel Mailing List Subject: Re: Linux v2.5.46 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 24 On Tue, 5 Nov 2002, Kai Germaschewski wrote: > > > Why not just hexdump the thing into an array of char foo.c file, > > then compile that. > > Well, I wouldn't think there's any toolchain which doesn't support the > current way when given the right flags, so that looks faster and cleaner > to me. Especially since we expect the array to be potentially megabytes in the end (especially if somebody wants to make a bootable CD using this), and at least traditional gcc's would do horrible O(n^2) things with big initialized arrays. Much better to just tell the tools it is a blob. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/