Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /usr/share/pari/doc/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : //usr/share/pari/doc/appb.tex

% Copyright (c) 2000  The PARI Group
%
% This file is part of the PARI/GP documentation
%
% Permission is granted to copy, distribute and/or modify this document
% under the terms of the GNU General Public License
\appendix{A Sample program and Makefile}

We assume that you have installed the PARI library and include files as
explained in Appendix A or in the installation guide. If you chose
differently any of the directory names, change them accordingly in the
Makefiles.

If the program example that we have given is in the file \kbd{extgcd.c}, then
a sample Makefile might look as follows. Note that the actual file
\kbd{examples/Makefile} is more elaborate and you should have a look at it if
you intend to use \kbd{install()} on custom made functions.

\bprog
CC = cc
INCDIR = @includedir
LIBDIR = @libdir
CFLAGS = -O -I$(INCDIR) -L$(LIBDIR)

all:  extgcd

extgcd:  extgcd.c
      $(CC) $(CFLAGS) -o extgcd extgcd.c -lpari -lm
@eprog

\noindent We then give the listing of the program \kbd{examples/extgcd.c}
seen in detail in \secref{se:prog}.

\bprogfile{../examples/extgcd.c}
\vfill\eject

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net