Messages in this thread | | | Date | Tue, 5 Nov 2002 08:08:24 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: Linux v2.5.46 |
| |
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/
| |