JM> Date: Sun, 19 May 2002 21:41:05 -0700
JM> From: Jonathan Mini

JM> Take a look at file2c. You'll need to run the source through
JM> the compiler first, but that is easy to do with make.

Hmmmm.  Definitely produces the desired results for the simple
case that I mentioned.  In fact, more complex things (hash
functions, tries, etc.) can be accomplished by writing a quick
bin to perform the proper transform, then feeding that to file2c;
a shell script can orchestrate everything.

I guess I'll run with that for now.  Off the top of my head, the
only feature file2c can't provide is user-specified data
alignment.  (Unless, of course, someone corrects me and alerts me
to a C preprocessor directive similar to assembly's ".align".)


Thanks!


--
Eddy

Brotsman & Dreger, Inc. - EverQuick Internet Division
Phone: +1 (316) 794-8922 Wichita/(Inter)national
Phone: +1 (785) 865-5885 Lawrence

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Date: Mon, 21 May 2001 11:23:58 +0000 (GMT)
From: A Trap <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Please ignore this portion of my mail signature.

These last few lines are a trap for address-harvesting spambots.
Do NOT send mail to <[EMAIL PROTECTED]>, or you are likely to
be blocked.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to