Date: Fri, 17 Mar 1995 09:08:24 -0500 To: djgpp AT sun DOT soe DOT clarkson DOT edu From: cburke AT mitre DOT org (Carl D. Burke) Subject: Re: GCC .o format > I am writting a game called Mechanisms. I want the user to be able to >program the Robots with C++ code. Is there any way that I can decifer someone >else's .o code and link it on the fly? > > Or, does anyone know where I can get any info on C++ robots? > >Thanks. There's a game called C++Robots, played by e-mail, run by Richard Rognlie (rrognlie AT netcom DOT com or rrognlie AT prc DOT com) -- not sure if he uses a compiler embedded within the game, or if he links everything beforehand. He should be able to give you some pointers, and possibly the source he's using. You could probably link code on the fly; look for the COFF spec or appropriate header files. I'd suggest looking at the source for ld, but that's dangerous if you want to release a commercial product (better to build from scratch or from PD sources instead). Just my personal $.02