Message-Id: <200009141606.LAA19381@darwin.sfbr.org> Date: Thu, 14 Sep 2000 11:07:42 -0500 (CDT) From: Jeff Williams Subject: pass C source to program binary? To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: xWikEzFX2DsjuYa654bLxw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc Reply-To: djgpp AT delorie DOT com Is there a obvious technique for passing the source code for a small C function (e.g., `for (i=1;i<=N;i++) y[i]=foo(x[i]);'), which might be in a file or passed via command-line, to an already-compiled C program and have that program be able to interpret and use the function internally? I'm looking for a way to give a program some extra flexibility without requiring the user to write various custom C functions and then re-compile/re-link with the main program. TIA---jtw