Tiny Core Extensions > Extension requests

How to compile Astrolog 7.7 on Tiny Core Linux (for TCL-11.1 ; x86 & x86_64-bit)

(1/2) > >>

xor:
How to compile Astrolog 7.7 on Tiny Core Linux (for TCL-11.1 ; x86 & x86_64-bit)

https://sourceforge.net/projects/astrology/files/astrolog/

patrikg:
Why not try dong it your self, like I said the thread before.

Juanito:
As a starting point, download the source tarball, uncompress it and check whether it uses autotools, cmake, meson or something else as a build system.

xor:
I asked for your help because I don't know how to compile a file whose source code is not even 5MB.

I don't want you to provide me with a ready-compiled version, I want to compile it myself.

Rich:
Hi xor

--- Code: ---tc@E310:~$ mkdir astro
--- End code ---
Download  ast77src.zip  into the  astro  directory you just created.

--- Code: ---tc@E310:~$ cd astro/
tc@E310:~/astro$ unzip ast77src.zip
tc@E310:~/astro$ tce-load -wil compiletc Xorg-7.7-dev
tc@E310:~/astro$ make
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o astrolog.o astrolog.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o atlas.o atlas.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o calc.o calc.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o charts0.o charts0.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o charts1.o charts1.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o charts2.o charts2.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o charts3.o charts3.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o data.o data.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o express.o express.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o general.o general.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o intrpret.o intrpret.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o io.o io.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o matrix.o matrix.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o placalc.o placalc.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o placalc2.o placalc2.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o xdata.o xdata.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o xgeneral.o xgeneral.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o xdevice.o xdevice.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o xcharts0.o xcharts0.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o xcharts1.o xcharts1.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o xcharts2.o xcharts2.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o xscreen.o xscreen.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o swecl.o swecl.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o swedate.o swedate.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o swehouse.o swehouse.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o swejpl.o swejpl.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o swemmoon.o swemmoon.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o swemplan.o swemplan.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o sweph.o sweph.cpp
g++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o swephlib.o swephlib.cpp
cc -o astrolog astrolog.o atlas.o calc.o charts0.o charts1.o charts2.o charts3.o data.o express.o general.o intrpret.o io.o matrix.o placalc.o placalc2.o xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o swecl.o swedate.o swehouse.o swejpl.o swemmoon.o swemplan.o sweph.o swephlib.o -lm -lX11 -ldl -s
tc@E310:~/astro$ ./astrolog
--- End code ---

If you enter:

--- Code: ---tc@E310:~/astro$ ./astrolog -H
--- End code ---
it will list about 270 command line switches.

Navigation

[0] Message Index

[#] Next page

Go to full version