|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Is there somewhere a precompiled version of MegaPOV (or MegaPOVPlus or
PVMegaPOV) for Unix/SunOS? When I tried to compile it myself I got a 7
MB binary file.... Or can anybody give my a hint how to compile it
properly?
Thanx
- Micha
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Micha Riser <ris### [at] studentethzch> wrote:
: When I tried to compile it myself I got a 7 MB binary file....
Try stripping it.
Which compiler did you use? If you used cc, try switching to gcc (it will
make the code faster anyways).
My compile of MegaPov for Solaris takes 1 004 332 bytes.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
>
> Micha Riser <ris### [at] studentethzch> wrote:
> : When I tried to compile it myself I got a 7 MB binary file....
>
> Try stripping it.
What's this?
>
> Which compiler did you use? If you used cc, try switching to gcc (it will
> make the code faster anyways).
> My compile of MegaPov for Solaris takes 1 004 332 bytes.
>
I think there was a problem with the png and libz-libraries. I need to
link them statical because I can't install the libraries itself.
What source code did you take? Which web page did you get it from?
- Micha
--------------------------------------------------------------
email: mic### [at] michavirtualavenet
visit my homepage: http://micha.virtualave.net
POVRay Objects Collection: http://povobjects.keyspace.de
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Micha Riser <mri### [at] datacommch> wrote:
:> Try stripping it.
: What's this?
man strip
: What source code did you take? Which web page did you get it from?
http://nathan.kopp.com/patched.htm
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Micha Riser wrote:
>
> Is there somewhere a precompiled version of MegaPOV (or MegaPOVPlus or
> PVMegaPOV) for Unix/SunOS? When I tried to compile it myself I got a 7
> MB binary file.... Or can anybody give my a hint how to compile it
> properly?
>
> Thanx
> - Micha
This may not help but have a look at
http://www.interlog.com/~dclarke/povray/povray.html
for a few ideas on how to get started.
In the mean time I just downloaded the source again and rebuilt Pov-Ray
again just to test a system here. We just built an eight cpu E4500 with
400MHz cpu's in it so I decided to run Pov-Ray for the fun of it. Had
to compile it though.
I'll download the Mega-Pov source and have a crack at that to see what I
get ...
Dennis Clarke
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
>
> : What source code did you take? Which web page did you get it from?
>
> http://nathan.kopp.com/patched.htm
How did you compile it from this source? ... it comes without makefile
and just taking the one from 3.1 doesn't work.
- Micha
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Micha Riser <mri### [at] datacommch> wrote:
: How did you compile it from this source? ... it comes without makefile
: and just taking the one from 3.1 doesn't work.
I made my own makefile (needs gmake). Put it into the unix/ subdirectory
and change some paths inside it to the correct ones in your system:
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<----
CC = gcc
LD = gcc
INCLUDES = $(SRCINC) $(LIBPNGINC) $(ZLIBINC) $(XLIBINC)
CFLAGS = -O3 -ffast-math -c -DCOMPILER_VER=\".`uname`.$(CC)\" $(INCLUDES)
#CFLAGS = -g -ansi -c -DCOMPILER_VER=\".`uname`.$(CC)\" $(INCLUDES)
LFLAGS = $(LIBPNGLIB) $(ZLIBLIB) $(XLIBLIB) -lm
X11 = /share/X11R6
XLIBINC = -I$(X11)/include
XLIBLIB = -L$(X11)/lib -lX11
PNGDIR = /share/local5/include
LIBPNGINC = -I$(PNGDIR)
LIBPNGLIB = -L/share/local5/lib -lpng
ZLIBDIR = /share/local5/include
ZLIBINC = -I$(ZLIBDIR)
ZLIBLIB = -L/share/local5/lib -lz
SRCDIR = ..
SRCINC = -I$(SRCDIR) -I.
SRC = $(wildcard $(SRCDIR)/*.c) $(wildcard *.c)
HEADERS = $(wildcard $(SRCDIR)/*.h) $(wildcard *.h)
BIN = xmegapov
$(BIN): $(SRC:.c=.o)
$(LD) $^ -o $(BIN) $(LFLAGS)
include .makefile.dep
depend:
gcc $(INCLUDES) -MM $(SRC) > .makefile.dep
.makefile.dep:
- gcc $(INCLUDES) -MM $(SRC) > .makefile.dep
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<----
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |