[MUD-Dev] [TECHNICAL] How to generate pre-processor output (template problem).
Ben Greear
greear at cyberhighway.net
Fri May 28 18:11:14 CEST 1999
Greg Miller wrote:
>
> Ben Greear wrote:
> >
> > I added a cute little templated array class, and everything works like
>
> How does it differ from the standard C++ vector template? (I'm being
> lazy and asking, since I haven't had a chance to look at the latest scry
> release)
>
Actually, I don't know...every time I look at other people's template
code (ie the standard library) I get so confused I just write it myself...
Hrm...wrote Scry because I couldn't understand Circle......I think there's
a name for this disorder.... Thank god I'm happy with my OS!! :)
> If you have access to a similar machine, you could compile it with egcs
> and transfer the binary to the machine you run it on.
Yeah, I'm mostly a linux kinda dude. However, if I can't find a new
host soon, I may install BSD here at home too...
> I don't have 2.7.x on hand, but with egcs-1.1.2 on my NT box, "g++
> --help" indicates that the "-E" option should run only the preprocessor
> stage and "-save-temps" should run a full compile while leaving
> temporary files on disk. A quick test seems to indicate that -E will get
> you preprocessor output dumped to stdout, so that should be what you're
> looking for.
Sounds good...I'll try that tomorrow and see what I can see..
--
Ben Greear (greear at cyberhighway.net) http://www.primenet.com/~greear
Author of ScryMUD: mud.primenet.com 4444 (Released under GPL)
http://www.primenet.com/~greear/ScryMUD/scry.html
_______________________________________________
MUD-Dev maillist - MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list