Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 04:54:41 +0000 (GMT)
From:      "E.B. Dreger" <eddy+public+spam@noc.everquick.net>
To:        Jonathan Mini <mini@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: any file --> symbol in .o file
Message-ID:  <Pine.LNX.4.20.0205200446080.9505-100000@www.everquick.net>
In-Reply-To: <20020519214105.K25907@stylus.haikugeek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <blacklist@brics.com>
To: blacklist@brics.com
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 <blacklist@brics.com>, or you are likely to
be blocked.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.20.0205200446080.9505-100000>