Ulf Kuehn on Wed, 08 Mar 2017 14:21:58 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: gp2c on OSX El Capitan , no.2


xcode Version 8.2.1 (8C1002)  and macports   Version: 2.4.1  are installed on my mac book

ld -v
@(#)PROGRAM:ld  PROJECT:ld64-274.2
configured to support archs: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m armv7k arm64 (tvOS)
LTO support using: LLVM version 3.9.1

gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin





# Config file for Pari  -- i386 running darwin (x86-64/GMP-6.1.0 kernel) 64-bit version

shell_q="'"
pari_release='2.10.0'
pari_release_verbose='2.10.0 (DEVELOPMENT VERSION)'
version='2.10'
libpari_base='pari-gmp-tls-2.10'
static='n'
objdir='Odarwin-i386'
arch='i386'
asmarch='x86_64'
osname='darwin'
pretty='i386 running darwin (x86-64/GMP-6.1.0 kernel) 64-bit version'
kernlvl0='x86_64'
kernlvl1='gmp'
RT_LIBS=''
DL_LIBS=''
MT_LIBS='-lpthread'
LIBS=''
dir_sep=':'
runpath='"/Users/ulf/pari/lib"'
runpathprefix='-rpath '
LDDYN='-lpari'
RUNTEST=''
ln_s='ln -s'
make_sh='/bin/sh'
sizeof_long='8'
doubleformat='-'
thread_engine='pthread'
enable_tls='yes'
runtime_perl='/opt/local/bin/perl'
gzip='/usr/bin/gzip'
cc='/usr/bin/cc'
gcc='/usr/bin/gcc'
ld='/usr/bin/ld'
perl='/opt/local/bin/perl'
zcat='/usr/bin/zcat'
test_extra_OUT='env'
test_extra_out='ploth io parallel install time'
test_extra='addprimes agm algebras analyz apply arith asymp aurifeuille bern bessel bestappr binomial bit bnfisintnorm bnflog bnr bnrL1 bnrisgalois character characteristic charpoly chinese cmp combinat compat concat content contfrac cxtrigo cyclo debugger deriv det diffop digits dirmul disc div ell ellanal ellff ellglobalred elliptic ellisogeny ellisomat ellissupersingular ellmodulareqn ellnf ellpadic ellsea elltors ellweilpairing equal err eval exact0 extract factor factorff factorint factormod ff ffisom fflog forperm forsubset forvec galois galoischartable galoisinit galpol gamma gammamellininv gcdext genus2red graph help history hyperell ideal idealappr idealramgroups incgam interpol intnum ispower isprime iterator krasner lambert lex lfun lfuntype lift lindep linear list lll log logint map mat mathnf matpermanent matsnf member memory minim minmax modfun modpr modsym modular mspadic multiif multivar-mul nf nfeltembed nfeltsign nffactor nfhilbert nfields nfislocalpower nfrootsof1 nfsplitting norm number objets op orthopol padic partition pol polclass polmod polmodular polred polygonal polylog polyser pow prec prime primes print printf program qf qfb qfbclassno qfbsolve qfisom qfsolve quad quadclassunit quadray ramanujantau random ranges real resultant rfrac rnf rnfkummer rootsreal round round4 select self ser set size solve sort sqrtn stark str subcyclo subfields subgroup subst sumdedekind sumdiv sumformal sumiter sumnum sumnumrat thue trans trans2 valuation vararg variable version whatnow zeta zetahurwitz zetamult zn zncoppersmith'
test_basic=' objets analyz number polyser linear elliptic sumiter graph program trans nfields_200'
top_test_extra='test-addprimes test-agm test-algebras test-analyz test-apply test-arith test-asymp test-aurifeuille test-bern test-bessel test-bestappr test-binomial test-bit test-bnfisintnorm test-bnflog test-bnr test-bnrL1 test-bnrisgalois test-character test-characteristic test-charpoly test-chinese test-cmp test-combinat test-compat test-concat test-content test-contfrac test-cxtrigo test-cyclo test-debugger test-deriv test-det test-diffop test-digits test-dirmul test-disc test-div test-ell test-ellanal test-ellff test-ellglobalred test-elliptic test-ellisogeny test-ellisomat test-ellissupersingular test-ellmodulareqn test-ellnf test-ellpadic test-ellsea test-elltors test-ellweilpairing test-equal test-err test-eval test-exact0 test-extract test-factor test-factorff test-factorint test-factormod test-ff test-ffisom test-fflog test-forperm test-forsubset test-forvec test-galois test-galoischartable test-galoisinit test-galpol test-gamma test-gammamellininv test-gcdext test-genus2red test-graph test-help test-history test-hyperell test-ideal test-idealappr test-idealramgroups test-incgam test-interpol test-intnum test-ispower test-isprime test-iterator test-krasner test-lambert test-lex test-lfun test-lfuntype test-lift test-lindep test-linear test-list test-lll test-log test-logint test-map test-mat test-mathnf test-matpermanent test-matsnf test-member test-memory test-minim test-minmax test-modfun test-modpr test-modsym test-modular test-mspadic test-multiif test-multivar-mul test-nf test-nfeltembed test-nfeltsign test-nffactor test-nfhilbert test-nfields test-nfislocalpower test-nfrootsof1 test-nfsplitting test-norm test-number test-objets test-op test-orthopol test-padic test-partition test-pol test-polclass test-polmod test-polmodular test-polred test-polygonal test-polylog test-polyser test-pow test-prec test-prime test-primes test-print test-printf test-program test-qf test-qfb test-qfbclassno test-qfbsolve test-qfisom test-qfsolve test-quad test-quadclassunit test-quadray test-ramanujantau test-random test-ranges test-real test-resultant test-rfrac test-rnf test-rnfkummer test-rootsreal test-round test-round4 test-select test-self test-ser test-set test-size test-solve test-sort test-sqrtn test-stark test-str test-subcyclo test-subfields test-subgroup test-subst test-sumdedekind test-sumdiv test-sumformal test-sumiter test-sumnum test-sumnumrat test-thue test-trans test-trans2 test-valuation test-vararg test-variable test-version test-whatnow test-zeta test-zetahurwitz test-zetamult test-zn test-zncoppersmith test-ploth test-io test-parallel test-install test-time test-env'
top_dotest_extra='dotest-addprimes dotest-agm dotest-algebras dotest-analyz dotest-apply dotest-arith dotest-asymp dotest-aurifeuille dotest-bern dotest-bessel dotest-bestappr dotest-binomial dotest-bit dotest-bnfisintnorm dotest-bnflog dotest-bnr dotest-bnrL1 dotest-bnrisgalois dotest-character dotest-characteristic dotest-charpoly dotest-chinese dotest-cmp dotest-combinat dotest-compat dotest-concat dotest-content dotest-contfrac dotest-cxtrigo dotest-cyclo dotest-debugger dotest-deriv dotest-det dotest-diffop dotest-digits dotest-dirmul dotest-disc dotest-div dotest-ell dotest-ellanal dotest-ellff dotest-ellglobalred dotest-elliptic dotest-ellisogeny dotest-ellisomat dotest-ellissupersingular dotest-ellmodulareqn dotest-ellnf dotest-ellpadic dotest-ellsea dotest-elltors dotest-ellweilpairing dotest-equal dotest-err dotest-eval dotest-exact0 dotest-extract dotest-factor dotest-factorff dotest-factorint dotest-factormod dotest-ff dotest-ffisom dotest-fflog dotest-forperm dotest-forsubset dotest-forvec dotest-galois dotest-galoischartable dotest-galoisinit dotest-galpol dotest-gamma dotest-gammamellininv dotest-gcdext dotest-genus2red dotest-graph dotest-help dotest-history dotest-hyperell dotest-ideal dotest-idealappr dotest-idealramgroups dotest-incgam dotest-interpol dotest-intnum dotest-ispower dotest-isprime dotest-iterator dotest-krasner dotest-lambert dotest-lex dotest-lfun dotest-lfuntype dotest-lift dotest-lindep dotest-linear dotest-list dotest-lll dotest-log dotest-logint dotest-map dotest-mat dotest-mathnf dotest-matpermanent dotest-matsnf dotest-member dotest-memory dotest-minim dotest-minmax dotest-modfun dotest-modpr dotest-modsym dotest-modular dotest-mspadic dotest-multiif dotest-multivar-mul dotest-nf dotest-nfeltembed dotest-nfeltsign dotest-nffactor dotest-nfhilbert dotest-nfields dotest-nfislocalpower dotest-nfrootsof1 dotest-nfsplitting dotest-norm dotest-number dotest-objets dotest-op dotest-orthopol dotest-padic dotest-partition dotest-pol dotest-polclass dotest-polmod dotest-polmodular dotest-polred dotest-polygonal dotest-polylog dotest-polyser dotest-pow dotest-prec dotest-prime dotest-primes dotest-print dotest-printf dotest-program dotest-qf dotest-qfb dotest-qfbclassno dotest-qfbsolve dotest-qfisom dotest-qfsolve dotest-quad dotest-quadclassunit dotest-quadray dotest-ramanujantau dotest-random dotest-ranges dotest-real dotest-resultant dotest-rfrac dotest-rnf dotest-rnfkummer dotest-rootsreal dotest-round dotest-round4 dotest-select dotest-self dotest-ser dotest-set dotest-size dotest-solve dotest-sort dotest-sqrtn dotest-stark dotest-str dotest-subcyclo dotest-subfields dotest-subgroup dotest-subst dotest-sumdedekind dotest-sumdiv dotest-sumformal dotest-sumiter dotest-sumnum dotest-sumnumrat dotest-thue dotest-trans dotest-trans2 dotest-valuation dotest-vararg dotest-variable dotest-version dotest-whatnow dotest-zeta dotest-zetahurwitz dotest-zetamult dotest-zn dotest-zncoppersmith dotest-ploth dotest-io dotest-parallel dotest-install dotest-time dotest-env'
prefix='/Users/ulf/pari'
share_prefix='/Users/ulf/pari/share'
bindir='/Users/ulf/pari/bin'
datadir='/Users/ulf/pari/share/pari'
includedir='/Users/ulf/pari/include'
libdir='/Users/ulf/pari/lib'
mandir='/Users/ulf/pari/share/man/man1'
sysdatadir='/Users/ulf/pari/lib/pari'
add_funclist='yes'
__gnuc__='Apple LLVM version 8.0.0 (clang-800.0.42.1)'
CC='/usr/bin/gcc'
CFLAGS='-O3 -Wall -fno-strict-aliasing -fomit-frame-pointer '
optimization='full'
DBGFLAGS='-g -Wall'
OPTFLAGS='-O3 -Wall -fno-strict-aliasing -fomit-frame-pointer'
exe_suff=''
suffix=''
ASMINLINE='yes'
KERNELCFLAGS='-funroll-loops'
LD='/usr/bin/gcc'
LDFLAGS='-O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -Wl,-search_paths_first '
LIBS=''
runpathprexix=''
LDneedsWl='yes'
LDused='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
GNULDused=''
DLCFLAGS='-fPIC'
DL_DFLT_NAME='NULL'
DLLD='/usr/bin/gcc'
DLLDFLAGS='-dynamiclib $(CFLAGS) $(DLCFLAGS) -Wl,-compatibility_version,2.10.0,-current_version,2.10.0 '
EXTRADLLDFLAGS=''
DLSUFFIX='dylib'
soname=''
sodest=''
DLLTOOL=''
which_graphic_lib='X11'
X11='/usr/X11R6/lib'
X11_INC='-I/usr/X11R6/include'
X11_LIBS='-L/usr/X11R6/lib -lX11 '
FLTK_LIBS=''
QTDIR=''
QTLIB=''
EXTRAMODLDFLAGS=''
MODLD='/usr/bin/gcc'
MODLDFLAGS='-bundle -undefined dynamic_lookup $(CFLAGS) $(DLCFLAGS)'
modules_build='/usr/bin/gcc -c -o %s.o -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -fPIC -I"/Users/ulf/pari/include" %s.c && /usr/bin/gcc -o %s.so -bundle -undefined dynamic_lookup -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -fPIC %s.o  -lc -lm -L/Users/ulf/pari/lib -lpari'
readline='yes'
readline_version='7.0'
RLINCLUDE='-I/usr/local/include'
RLLIBS='-L/usr/local/lib -lreadline'
gmp='yes'
GMPLIBS='-lgmp'
GMPINCLUDE=''
has_exp2='yes'
has_log2='yes'
has_strftime='yes'
has_getrusage='yes'
has_gettimeofday='yes'
has_sigaction='yes'
has_TIOCGWINSZ='yes'
has_getrlimit='yes'
has_stat='yes'
has_vsnprintf='yes'
has_mmap='yes'
has_waitpid='yes'
has_setsid='yes'
has_getenv='yes'
has_isatty='yes'
has_alarm='yes'
has_system='yes'
has_dlopen='yes'





On 08/03/17 12:46, Bill Allombert wrote:
On Wed, Mar 08, 2017 at 12:19:46PM +0100, Ulf Kuehn wrote:
dear bill,
now it works. After a comparison to gp2c running under linux i altered my
pari.cfg manually.
I appended to the given MODLDFLAGS  the options
"  -lc -lm -L/Users/ulf/pari/lib -lpari  "

i have absolutely no idea what this code means, but now gp2c-run is working
:-)
Yes it is a bit strange. What compiler and linker are you using ?

Cheers,
Bill