Walter Neumann on Mon, 10 Mar 2003 21:36:05 -0500 (EST)


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

Re: Question on compiling...


David

I think you probably need to do a full cygwin install and make sure that
the cygwin gcc is being used rather than the mingw one. If cygwin is
properly installed it may just be a matter of removing the mingw directory
from your path.

--walter

On Mon, 10 Mar 2003, David Cleaver wrote:

>
>
> Bill Allombert wrote:
> >
> > On Sun, Mar 09, 2003 at 06:48:53PM -0600, David Cleaver wrote:
> > > The output from "make gp" is:
> > > Making gp in Ocygwin-
> >
> > This is very suspect: it should be Ocygwin-i686.
> > The best bet is that config/arch-osname fail to report your architecture
> > properly.
> >
> > config/arch-osname read
> >
> >   cygwin*)  arch=$HOSTTYPE; osname=cygwin;;
> >
> > So maybe try to set the environment variable HOSTTYPE to i686
> > or what is appropriate.
> >
> > We cannot really help you without the output of ./Configure
> >
> > Cheers,
> > Bill.
>
> OK, I went through and did ./configure -a and told it I was i686. Along
> the way it created a Ocygwin-i686 folder.  At the end it asked "Shall we
> try to build pari 2.2.5 (alpha) now (y/n)?" and I answered yes and
> here's the output of that:
> /cygdrive/c/mingw/bin/gcc -c -O3 -DGCC_INLINE -Wall -fomit-frame-pointer
> -I. -I../src/headers -o kernel.o ../src/kernel/none/level0.c
> process_begin: CreateProcess((null), /cygdrive/c/mingw/bin/gcc -c -O3
> -DGCC_INLINE -Wall -fomit-frame-pointer -I. -I../src/headers -o kernel.o
> ../src/kernel/none/level0.c, ...) failed.
> make (e=3): The system cannot  find the path specified.
> c:\mingw\bin\make.exe: *** [kernel.o] Error 3
> Bye!
>
> And, the output of ./configure, do you want the dft.Config.in? If so,
> here is that:
> # Config file for Pari  -- i686 running cygwin (C portable kernel)
> 32-bit version
>
> shell_q="'"
> pari_release='2.2.5'
> pari_release_verbose='2.2.5 (DEVELOPMENT VERSION)'
> version='2.2'
> libpari_base='pari-2.2'
> static='y'
> TOP='/cygdrive/d/programming/cfiles/pari-2.2.5.alpha'
> objdir='Ocygwin-i686'
> arch='i686'
> asmarch='ix86'
> osname='cygwin'
> pretty='i686 running cygwin (C portable kernel) 32-bit version'
> kernlvl0='none'
> kernlvl1='none'
> gnuas='yes'
> AS='/cygdrive/c/mingw/bin/as'
> ASFLAGS=''
> KERNELCPPFLAGS=''
> LIBS='-lm'
> modules_build='/cygdrive/c/mingw/bin/gcc -c -o %s.o -O3 -DGCC_INLINE
> -Wall -fomit-frame-pointer -I/usr/local/include %s.c &&
> /cygdrive/c/mingw/bin/gcc -o %s.so -shared -mimpure-text -O3
> -DGCC_INLINE -Wall -fomit-frame-pointer -Wl,-shared %s.o '
> dir_sep=':'
> runpath='/usr/local/lib'
> runpathprefix='-rpath'
> LDDYN='-L/usr/local/lib -lpari_dll'
> DYNLIBS='-lpari_dll'
> DYNFLAGS='-Dlibpari_USE_DLL'
> DYNRELOC=''
> ranlib='/cygdrive/c/mingw/bin/ranlib'
> gzip='/usr/bin/gzip'
> zcat='/usr/bin/zcat'
> emacs=''
> perl='/cygdrive/c/Perl/bin//perl'
> ln_s='ln -s'
> make_sh='/bin/sh'
> sizeof_long='4'
> doubleformat='1'
> X11=''
> Xincroot=''
> extralib=''
> which_graphic_lib='gnuplot-dynamic'
> graphic_lib_dll='NULL'
> gnuplot=''
> gnuplot_libs=''
> prefix='/usr/local'
> share_prefix=''
> bindir='/usr/local/bin'
> includedir='/usr/local/include/pari'
> mandir='/usr/local/man/man1'
> miscdir='/usr/local/lib/pari'
> libdir='/usr/local/lib'
> datadir='/usr/local/lib/pari/galdata'
> __gnuc__='3.2 (mingw special 20020817-1)'
> CC='/cygdrive/c/mingw/bin/gcc'
> CFLAGS='-O3 -DGCC_INLINE -Wall -fomit-frame-pointer '
> optimization='full'
> DBGFLAGS='-g -Wall'
> OPTFLAGS='-O3 -DGCC_INLINE -Wall -fomit-frame-pointer'
> CPP='/cygdrive/c/mingw/bin/gcc -E -I.'
> exe_suff='.exe'
> suffix=''
> ASMINLINE='yes'
> DLCFLAGS=''
> LD='/cygdrive/c/mingw/bin/gcc'
> LDFLAGS='-O3 -DGCC_INLINE -Wall -fomit-frame-pointer -Wl,-export-dynamic
> '
> LIBS='-lm'
> runpathprexix=''
> LDneedWl=''
> LDused='c:/mingw/bin/../lib/gcc-lib/mingw32/3.2/../../../../mingw32/bin/ld.exe'
> GNULDused='yes'
> DLLD='/cygdrive/c/mingw/bin/gcc'
> DLLDFLAGS='-shared -mimpure-text $(CFLAGS)
> -Wl,-shared,-soname=$(LIBPARI_SONAME)'
> EXTRADLLDFLAGS=''
> DLSUFFIX='so'
> soname='.5'
> sodest=''
> readline=''
> readline_version=''
> readline_enabledp='nil'
> CPPF_defined=''
> rl_library_version=''
> rl_fake_library_version=''
> rl_history=''
> rl_refresh_line_oldproto=''
> rl_appendchar=''
> rl_message=''
> rl_save_prompt=''
> rl_fake_save_prompt=''
> _rl_save_promptrl_genericbind=''
> rl_bind_key_in_map=''
> rl_attempted_completion_over=''
> rl_completion_query_items=''
> rl_completion_matches=''
> rl_completion_func_t=''
> RLINCLUDE=''
> RLLIBS=''
> has_ulong='no'
> has_exp2='yes'
> has_log2='yes'
> has_strftime='yes'
> has_times='no'
> has_ftime='no'
> has_sigrelse='no'
> has_sigsetmask='no'
> has_TIOCGWINSZ='no'
> has_getrlimit='no'
> has_opendir='yes'
> has_vsnprintf='yes'
> has_dlopen='no'
>
>
> I'm running Windows XP on a P IV 1.8GHz.  BTW, if you want any other
> output files or any other system info, just let me know.  Thanks for any
> help you can provide.
>
> -David C.
>