lkml.org 
[lkml]   [2002]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.083 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site