I installed GAP in my Ubuntu 20.04.
I can write programs and compile them using terminal by writing gap
then do the things that I found in GAP manual in your website without any difficult.
But, if I closed the terminal I lose everything, so obviously I have to write a program in a text editor first, then save it (this is my first problem do I have to save it as a .g
file or .gap
file or....?), next is to compile this program using terminal, I remember when I used C program we had to put something like this: gcc program.c -o program
.
So my second question (that I am sure you guessed) is how to compile this GAP file if we use GNU compiler? Thanks in advance.
gap example1.g example2.g
it will read files after loading shell. – user.dz Jan 05 '22 at 00:06