|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Building CINT under Cygwin (and later MinGW)Hello,
I'm trying to get a feel for the CINT tool and using Cygwin as a test environment. My eventual goal is to embed CINT into a MinGW cross compiled Win32 application to allow rapid testing of windows API graphic routines under native windows and WINE. So far I've had a rocky start building the CINT tool. I've been trying to build both the old and new SVN repositories and the source tarball without straight forward success. I've been reading the mail archives but didn't see anything that stood out. ERROR: Cygwin + Source Tarball 5.16.19 details below ERROR: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) details below COMPILES: Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) with revision: 2017 of Makefile Out of date but produces a CINT.exe COMPILES: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) with configure setting to CINT5 --coreversion=old Has a working cint.exe after some work. What environment should I be trying to make work at this time if I want to use both MinGW and Cygwin? CINT is an interesting tool and I'm enjoying learning it. Thanks for your time. Details: *** Cygwin + Source Tarball From the cint-5.16.19-source.tar.gz under a current Cygwin, the "./configure" succeeds but the make fails. $ export PATH=$PWD/bin:$PATH $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH $ export CINTSYSDIR=$PWD $ ./configure --arch=cygwin Using /usr/lib/libreadline.a Using /usr/lib/libncurses.a Writing Makefile.conf... Writing inc/configcint.h... Done. Run "make" to build cint. Run "make help" to see the available build targets. $ make make -C src make[1]: Entering directory `/cygdrive/c/Documents and Settings/rvjmm02/Desktop/ cint-tar/src' g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFIG -D G__NOMAKEINFO -c Api.cxx ... (removed for brevity) ... g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFIG -D G__NOMAKEINFO -c Apiif.cxx Apiif.cxx: In function `int G__G__API_102_0_8(G__value*, const char*, G__param*, int)': Apiif.cxx:78: error: `G__ExceptionWrapper' is not a member of `Cint' Apiif.cxx: In function `void G__setup_memfuncCint()': Apiif.cxx:3555: error: `G__ExceptionWrapper' is not a member of `Cint' make[1]: *** [Apiif.o] Error 1 make[1]: Leaving directory `/cint-tar/src' make: *** [libcint.dll] Error 2 *** Cygwin + SVN head (http://root.cern.ch/svn/root/trunk/cint) $ . ./setenv.sh or $ export PATH=$PWD/bin:$PATH $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH $ export CINTSYSDIR=$PWD $ ./configure --arch=cygwin Using new CINT core Using /usr/lib/libreadline.dll.a Using /usr/lib/libncurses.dll.a Creating build dirs... Writing Makefile.conf... Writing cint7/inc/configcint.h... Writing bin/cint-config... Writing config.status... Creating Makefile... Creating reconfigure... Done. Run "make" to build cint. Run "make help" to see the available build targets. $ make echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN -DG__STD_ EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/in c -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- tool/rmkdepe nd//cppsetup.c ... (removed for brevity) ... g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__ NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERG E -DInternal=I -c tool/rmkdepend//mainroot.cxx -o tool/rmkdepend//mainroot.o g++ -O2 tool/rmkdepend//cppsetup.o tool/rmkdepend//ifparser.o tool/rmkdepend// include.o tool/rmkdepend//main.o tool/rmkdepend//parse.o tool/rmkdepend//pr.o to ol/rmkdepend//mainroot.o -o tool/rmkdepend/rmkdepend.exe cp -f build/Makefile Makefile tool/rmkdepend/rmkdepend.exe -R -fcint7/main/G__setup.d -Y -w 1000 -- -O2 -DG __CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icin t7/src -Ireflex/inc -DG__CINTBODY -- cint7/main/G__setup.c gcc -O2 -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Ic int7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -c cint7/main/G__setup.c -o cint 7/main/G__setup.o tool/rmkdepend/rmkdepend.exe -R -fcint7/main/cppmain.d -Y -w 1000 -- -O2 -DG__G NUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icin t7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I - D__cplusplus -- cint7/main/cppmain.cxx g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__ NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERG E -DInternal=I -c cint7/main/cppmain.cxx -o cint7/main/cppmain.o tool/rmkdepend/rmkdepend.exe -R -fcint7/src/Api.d -Y -w 1000 -- -O2 -DG__GNUREA DLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/in c -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -D__cp lusplus -- cint7/src/Api.cxx ... (removed for brevity) ... g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__ NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERG E -DInternal=I -c cint7/src/shl.cxx -o cint7/src/shl.o cint7/src/shl.cxx:100: error: `Cint::I::G__allsl' should have been declared inside `Cint::I' make: *** [cint7/src/shl.o] Error 1 *** Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) with revision: 2017 of Makefile export PATH=$PWD/bin:$PATH export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH export CINTSYSDIR=$PWD ./configure --arch=cygwin make eventually produces a Cygwin cint.exe, makecint.exe and libcint.dll Produced cint ran the debug.c demo to completion. *** Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) with config setting to CINT5 --coreversion=old $ make clean $ ./configure --arch=cygwin --coreversion=old Using /usr/lib/libreadline.dll.a Using /usr/lib/libncurses.dll.a Creating build dirs... Writing Makefile.conf... Writing cint/inc/configcint.h... Writing bin/cint-config... Writing config.status... Creating Makefile... Creating reconfigure... Done. Run "make" to build cint. Run "make help" to see the available build targets. $ make echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN -DG__STD_ EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- tool/rmkdepend //cppsetup.c ... Eventually produces Cygwin cint.exe, makecint.exe and a libcint.dll Failed in the lib compiles apparently because of a space in my PATH. Moving build directory to remove the space and retrying. $ . setenv.sh $ make lots of errors trying to build stuff in the /cint-new/cint/lib/ directory ########################################################################## # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: cint@... ########################################################################## Run 'make -f Makefile' to compile the object make[1]: Entering directory `/cint-new/cint/lib/longlong' /cint-new/bin/cint.exe -w2 -zlong -nG__cpp_long.cxx -D__MAKE CINT__ -DG__MAKECINT -c-1 -A -I/home/cint-new/cint/inc -I../../.. -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Z0 longlong.h longdbl.h make[1]: *** [G__cpp_long.cxx] Error 53 make[1]: Leaving directory `/cint-new/cint/lib/longlong' rm: cannot remove `G__*': No such file or directory make: *** [longlong.cintdll] Error 1 It produced a cint.exe, cint_tmp.exe, makecint.exe and a static and dynamic library file. Had to rename the cint.exe and put in cint_tmp.exe in it's place. The cint.exe does nothing and is an 8KB file. The cint_tmp.exe is 2.7MB file that executes and runs. Replaced cint with the cint_tmp and I could run the debug.c demo to completion. -- Michael McGarrah |
|
|
Re: Building CINT under Cygwin (and later MinGW)Hi,
> ERROR: Cygwin + Source Tarball 5.16.19 > details below To solve the problem try rm src/Apii* > COMPILES: Cygwin + new SVN head > with configure setting to CINT5 --coreversion=old > The cint.exe does nothing and is an 8KB file. This is odd (and is the source of all the other issues). Was there any error during the build of cint.exe (you can retry it by doing rm bin/cint.exe; gmake bin/cint.exe ) > ERROR: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) > details below This is the environment I recommend focusing on (this is more or so the only active development environment). > cint7/src/shl.cxx:100: error: `Cint::I::G__allsl' should have been > declared inside `Cint::I' > make: *** [cint7/src/shl.o] Error 1 humm ... which version of gcc is cygwin using? Try replacing line 100 of cint7/src/shl.cxx (i.e. short Cint::Internal::G__allsl=0;) by: namespace Cint { namespace Internal { short G__allsl = 0; } } Cheers, Philippe. Michael McGarrah wrote: > Hello, > > I'm trying to get a feel for the CINT tool and using Cygwin as a test > environment. My eventual goal is to embed CINT into a MinGW cross > compiled Win32 application to allow rapid testing of windows API > graphic routines under native windows and WINE. > > So far I've had a rocky start building the CINT tool. I've been > trying to build both the old and new SVN repositories and the source > tarball without straight forward success. I've been reading the mail > archives but didn't see anything that stood out. > > ERROR: Cygwin + Source Tarball 5.16.19 > details below > > ERROR: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) > details below > > COMPILES: Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) > with revision: 2017 of Makefile > Out of date but produces a CINT.exe > > COMPILES: Cygwin + new SVN head > (http://root.cern.ch/svn/root/trunk/cint) with configure setting to > CINT5 --coreversion=old > Has a working cint.exe after some work. > > What environment should I be trying to make work at this time if I > want to use both MinGW and Cygwin? > > CINT is an interesting tool and I'm enjoying learning it. > > Thanks for your time. > > > Details: > > *** Cygwin + Source Tarball > > From the cint-5.16.19-source.tar.gz under a current Cygwin, the > "./configure" succeeds but the make fails. > > $ export PATH=$PWD/bin:$PATH > $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH > $ export CINTSYSDIR=$PWD > > $ ./configure --arch=cygwin > Using /usr/lib/libreadline.a > Using /usr/lib/libncurses.a > > Writing Makefile.conf... > Writing inc/configcint.h... > Done. > Run "make" to build cint. > Run "make help" to see the available build targets. > $ make > make -C src > make[1]: Entering directory `/cygdrive/c/Documents and Settings/rvjmm02/Desktop/ > cint-tar/src' > g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFIG -D > G__NOMAKEINFO -c Api.cxx > > ... (removed for brevity) ... > > g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN -DG__HAVE_CONFIG -D > G__NOMAKEINFO -c Apiif.cxx > Apiif.cxx: In function `int G__G__API_102_0_8(G__value*, const char*, G__param*, > int)': > Apiif.cxx:78: error: `G__ExceptionWrapper' is not a member of `Cint' > Apiif.cxx: In function `void G__setup_memfuncCint()': > Apiif.cxx:3555: error: `G__ExceptionWrapper' is not a member of `Cint' > make[1]: *** [Apiif.o] Error 1 > make[1]: Leaving directory `/cint-tar/src' > make: *** [libcint.dll] Error 2 > > > *** Cygwin + SVN head (http://root.cern.ch/svn/root/trunk/cint) > > $ . ./setenv.sh > or > $ export PATH=$PWD/bin:$PATH > $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH > $ export CINTSYSDIR=$PWD > > $ ./configure --arch=cygwin > Using new CINT core > Using /usr/lib/libreadline.dll.a > Using /usr/lib/libncurses.dll.a > > Creating build dirs... > Writing Makefile.conf... > Writing cint7/inc/configcint.h... > Writing bin/cint-config... > Writing config.status... > Creating Makefile... > Creating reconfigure... > Done. > > Run "make" to build cint. > Run "make help" to see the available build targets. > > $ make > echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN -DG__STD_ > EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/in > c -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- tool/rmkdepe > nd//cppsetup.c > > ... (removed for brevity) ... > > g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__ > NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERG > E -DInternal=I -c tool/rmkdepend//mainroot.cxx -o tool/rmkdepend//mainroot.o > g++ -O2 tool/rmkdepend//cppsetup.o tool/rmkdepend//ifparser.o tool/rmkdepend// > include.o tool/rmkdepend//main.o tool/rmkdepend//parse.o tool/rmkdepend//pr.o to > ol/rmkdepend//mainroot.o -o tool/rmkdepend/rmkdepend.exe > cp -f build/Makefile Makefile > tool/rmkdepend/rmkdepend.exe -R -fcint7/main/G__setup.d -Y -w 1000 -- -O2 -DG > __CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icin > t7/src -Ireflex/inc -DG__CINTBODY -- cint7/main/G__setup.c > gcc -O2 -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Ic > int7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -c cint7/main/G__setup.c -o cint > 7/main/G__setup.o > tool/rmkdepend/rmkdepend.exe -R -fcint7/main/cppmain.d -Y -w 1000 -- -O2 -DG__G > NUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icin > t7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I - > D__cplusplus -- cint7/main/cppmain.cxx > g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__ > NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERG > E -DInternal=I -c cint7/main/cppmain.cxx -o cint7/main/cppmain.o > tool/rmkdepend/rmkdepend.exe -R -fcint7/src/Api.d -Y -w 1000 -- -O2 -DG__GNUREA > DLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/in > c -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I -D__cp > lusplus -- cint7/src/Api.cxx > > ... (removed for brevity) ... > > g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__ > NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERG > E -DInternal=I -c cint7/src/shl.cxx -o cint7/src/shl.o > cint7/src/shl.cxx:100: error: `Cint::I::G__allsl' should have been > declared inside `Cint::I' > make: *** [cint7/src/shl.o] Error 1 > > > > *** Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) with > revision: 2017 of Makefile > > export PATH=$PWD/bin:$PATH > export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH > export CINTSYSDIR=$PWD > ./configure --arch=cygwin > make > > eventually produces a Cygwin cint.exe, makecint.exe and libcint.dll > > Produced cint ran the debug.c demo to completion. > > > *** Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) > with config setting to CINT5 --coreversion=old > > $ make clean > $ ./configure --arch=cygwin --coreversion=old > Using /usr/lib/libreadline.dll.a > Using /usr/lib/libncurses.dll.a > > Creating build dirs... > Writing Makefile.conf... > Writing cint/inc/configcint.h... > Writing bin/cint-config... > Writing config.status... > Creating Makefile... > Creating reconfigure... > Done. > > Run "make" to build cint. > Run "make help" to see the available build targets. > > $ make > echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN -DG__STD_ > EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src -Ireflex/inc > -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- tool/rmkdepend > //cppsetup.c > ... > Eventually produces Cygwin cint.exe, makecint.exe and a libcint.dll > Failed in the lib compiles apparently because of a space in my PATH. > Moving build directory to remove the space and retrying. > > $ . setenv.sh > $ make > > lots of errors trying to build stuff in the /cint-new/cint/lib/ directory > > ########################################################################## > # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) > # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: cint@... > ########################################################################## > Run 'make -f Makefile' to compile the object > make[1]: Entering directory `/cint-new/cint/lib/longlong' > /cint-new/bin/cint.exe -w2 -zlong -nG__cpp_long.cxx -D__MAKE > CINT__ -DG__MAKECINT -c-1 -A -I/home/cint-new/cint/inc -I../../.. > -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Z0 longlong.h > longdbl.h > make[1]: *** [G__cpp_long.cxx] Error 53 > make[1]: Leaving directory `/cint-new/cint/lib/longlong' > rm: cannot remove `G__*': No such file or directory > make: *** [longlong.cintdll] Error 1 > > It produced a cint.exe, cint_tmp.exe, makecint.exe and a static and > dynamic library file. > > Had to rename the cint.exe and put in cint_tmp.exe in it's place. > The cint.exe does nothing and is an 8KB file. > The cint_tmp.exe is 2.7MB file that executes and runs. > Replaced cint with the cint_tmp and I could run the debug.c demo to completion. > > |
|
|
Re: Building CINT under Cygwin (and later MinGW)Thanks,
The compiler I'm using is whatever GCC Cygwin has that is current as of today. $ gcc --version gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Tried replacing the line in shl.cxx: OLD: short Cint::Internal::G__allsl = 0; NEW: namespace Cint { namespace Internal { short G__allsl = 0; } } That seemed to get past the compile error. Not sure if the fix is causing the followup errors. Next problem I'm hitting is the iosenum.h generation from the build/libCint.mk file. I'm still digging into this one now but it looks like the cint_tmp.exe that is being generated is not working. Manually running from top level directory "./bin/cint_tmp -Icint7/inc cint7/include/iosenum.cxx" does not produce the iosenum.h file that is expected at the top level. Tested the cint_tmp against HelloWorld.c and again no results come back. From libCint.mk ############################################################## # Generate ios enum value specific to the platform ############################################################## ... (LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}:../lib DYLD_LIBRARY_ PATH=../lib:.:$$DYLD_LIBRARY_PATH ../$(CINTTMP) $(G__CFG_INCP)inc include/iosenu m.cxx ) && \ mv -f iosenum.h include/iosenum.h); \ ... Tried copying an iosenum.h from previous working environment but it just cascades into more troubles so I'll probable backtrack to what is broken above. Here is the error when I copied the iosenum.h file into place. $ make bin/cint.exe cd cint7/src/dict && LD_LIBRARY_PATH=../../../lib:$LD_LIBRARY_PATH DYLD_LIBRARY_ PATH=../lib:.:$DYLD_LIBRARY_PATH\ ../../../bin/cint_tmp.exe -nApiif.cxx -NG__API -Z0 -D__MAKECINT__ \ -c-1 -I../../inc -I../../../reflex/inc -I.. Api.h make: *** [cint7/src/dict/Apiif.cxx] Error 53 I'll let you know if I figure anything out. Thanks again. On Wed, Jan 7, 2009 at 1:24 PM, Philippe Canal <pcanal@...> wrote: > Hi, > >> ERROR: Cygwin + Source Tarball 5.16.19 >> details below > > To solve the problem try > rm src/Apii* > >> COMPILES: Cygwin + new SVN head >> with configure setting to CINT5 --coreversion=old >> The cint.exe does nothing and is an 8KB file. > > This is odd (and is the source of all the other issues). Was there any > error during the build > of cint.exe (you can retry it by doing rm bin/cint.exe; gmake bin/cint.exe ) > >> ERROR: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) >> details below > > This is the environment I recommend focusing on (this is more or so the only > active > development environment). > >> cint7/src/shl.cxx:100: error: `Cint::I::G__allsl' should have been >> declared inside `Cint::I' >> make: *** [cint7/src/shl.o] Error 1 > > humm ... which version of gcc is cygwin using? > Try replacing line 100 of cint7/src/shl.cxx (i.e. short > Cint::Internal::G__allsl=0;) > by: > namespace Cint { > namespace Internal { > short G__allsl = 0; > } > } > > Cheers, > Philippe. > > Michael McGarrah wrote: >> >> Hello, >> >> I'm trying to get a feel for the CINT tool and using Cygwin as a test >> environment. My eventual goal is to embed CINT into a MinGW cross >> compiled Win32 application to allow rapid testing of windows API >> graphic routines under native windows and WINE. >> >> So far I've had a rocky start building the CINT tool. I've been >> trying to build both the old and new SVN repositories and the source >> tarball without straight forward success. I've been reading the mail >> archives but didn't see anything that stood out. >> >> ERROR: Cygwin + Source Tarball 5.16.19 >> details below >> >> ERROR: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) >> details below >> >> COMPILES: Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) >> with revision: 2017 of Makefile >> Out of date but produces a CINT.exe >> >> COMPILES: Cygwin + new SVN head >> (http://root.cern.ch/svn/root/trunk/cint) with configure setting to >> CINT5 --coreversion=old >> Has a working cint.exe after some work. >> >> What environment should I be trying to make work at this time if I >> want to use both MinGW and Cygwin? >> >> CINT is an interesting tool and I'm enjoying learning it. >> >> Thanks for your time. >> >> >> Details: >> >> *** Cygwin + Source Tarball >> >> From the cint-5.16.19-source.tar.gz under a current Cygwin, the >> "./configure" succeeds but the make fails. >> >> $ export PATH=$PWD/bin:$PATH >> $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH >> $ export CINTSYSDIR=$PWD >> >> $ ./configure --arch=cygwin >> Using /usr/lib/libreadline.a >> Using /usr/lib/libncurses.a >> >> Writing Makefile.conf... >> Writing inc/configcint.h... >> Done. >> Run "make" to build cint. >> Run "make help" to see the available build targets. >> $ make >> make -C src >> make[1]: Entering directory `/cygdrive/c/Documents and >> Settings/rvjmm02/Desktop/ >> cint-tar/src' >> g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN >> -DG__HAVE_CONFIG -D >> G__NOMAKEINFO -c Api.cxx >> >> ... (removed for brevity) ... >> >> g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN >> -DG__HAVE_CONFIG -D >> G__NOMAKEINFO -c Apiif.cxx >> Apiif.cxx: In function `int G__G__API_102_0_8(G__value*, const char*, >> G__param*, >> int)': >> Apiif.cxx:78: error: `G__ExceptionWrapper' is not a member of `Cint' >> Apiif.cxx: In function `void G__setup_memfuncCint()': >> Apiif.cxx:3555: error: `G__ExceptionWrapper' is not a member of `Cint' >> make[1]: *** [Apiif.o] Error 1 >> make[1]: Leaving directory `/cint-tar/src' >> make: *** [libcint.dll] Error 2 >> >> >> *** Cygwin + SVN head (http://root.cern.ch/svn/root/trunk/cint) >> >> $ . ./setenv.sh >> or >> $ export PATH=$PWD/bin:$PATH >> $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH >> $ export CINTSYSDIR=$PWD >> >> $ ./configure --arch=cygwin >> Using new CINT core >> Using /usr/lib/libreadline.dll.a >> Using /usr/lib/libncurses.dll.a >> >> Creating build dirs... >> Writing Makefile.conf... >> Writing cint7/inc/configcint.h... >> Writing bin/cint-config... >> Writing config.status... >> Creating Makefile... >> Creating reconfigure... >> Done. >> >> Run "make" to build cint. >> Run "make help" to see the available build targets. >> >> $ make >> echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN >> -DG__STD_ >> EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icint7/src >> -Ireflex/in >> c -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- >> tool/rmkdepe >> nd//cppsetup.c >> >> ... (removed for brevity) ... >> >> g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG >> -DG__ >> NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY >> -DREFLEX_CINT_MERG >> E -DInternal=I -c tool/rmkdepend//mainroot.cxx -o >> tool/rmkdepend//mainroot.o >> g++ -O2 tool/rmkdepend//cppsetup.o tool/rmkdepend//ifparser.o >> tool/rmkdepend// >> include.o tool/rmkdepend//main.o tool/rmkdepend//parse.o >> tool/rmkdepend//pr.o to >> ol/rmkdepend//mainroot.o -o tool/rmkdepend/rmkdepend.exe >> cp -f build/Makefile Makefile >> tool/rmkdepend/rmkdepend.exe -R -fcint7/main/G__setup.d -Y -w 1000 -- -O2 >> -DG >> __CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc >> -Icin >> t7/src -Ireflex/inc -DG__CINTBODY -- cint7/main/G__setup.c >> gcc -O2 -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO >> -Ic >> int7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -c cint7/main/G__setup.c >> -o cint >> 7/main/G__setup.o >> tool/rmkdepend/rmkdepend.exe -R -fcint7/main/cppmain.d -Y -w 1000 -- -O2 >> -DG__G >> NUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO >> -Icin >> t7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE >> -DInternal=I - >> D__cplusplus -- cint7/main/cppmain.cxx >> g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG >> -DG__ >> NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY >> -DREFLEX_CINT_MERG >> E -DInternal=I -c cint7/main/cppmain.cxx -o cint7/main/cppmain.o >> tool/rmkdepend/rmkdepend.exe -R -fcint7/src/Api.d -Y -w 1000 -- -O2 >> -DG__GNUREA >> DLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO >> -Icint7/in >> c -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I >> -D__cp >> lusplus -- cint7/src/Api.cxx >> >> ... (removed for brevity) ... >> >> g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG >> -DG__ >> NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY >> -DREFLEX_CINT_MERG >> E -DInternal=I -c cint7/src/shl.cxx -o cint7/src/shl.o >> cint7/src/shl.cxx:100: error: `Cint::I::G__allsl' should have been >> declared inside `Cint::I' >> make: *** [cint7/src/shl.o] Error 1 >> >> >> >> *** Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) with >> revision: 2017 of Makefile >> >> export PATH=$PWD/bin:$PATH >> export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH >> export CINTSYSDIR=$PWD >> ./configure --arch=cygwin >> make >> >> eventually produces a Cygwin cint.exe, makecint.exe and libcint.dll >> >> Produced cint ran the debug.c demo to completion. >> >> >> *** Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) >> with config setting to CINT5 --coreversion=old >> >> $ make clean >> $ ./configure --arch=cygwin --coreversion=old >> Using /usr/lib/libreadline.dll.a >> Using /usr/lib/libncurses.dll.a >> >> Creating build dirs... >> Writing Makefile.conf... >> Writing cint/inc/configcint.h... >> Writing bin/cint-config... >> Writing config.status... >> Creating Makefile... >> Creating reconfigure... >> Done. >> >> Run "make" to build cint. >> Run "make help" to see the available build targets. >> >> $ make >> echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN >> -DG__STD_ >> EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src >> -Ireflex/inc >> -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- >> tool/rmkdepend >> //cppsetup.c >> ... >> Eventually produces Cygwin cint.exe, makecint.exe and a libcint.dll >> Failed in the lib compiles apparently because of a space in my PATH. >> Moving build directory to remove the space and retrying. >> >> $ . setenv.sh >> $ make >> >> lots of errors trying to build stuff in the /cint-new/cint/lib/ directory >> >> ########################################################################## >> # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) >> # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: cint@... >> ########################################################################## >> Run 'make -f Makefile' to compile the object >> make[1]: Entering directory `/cint-new/cint/lib/longlong' >> /cint-new/bin/cint.exe -w2 -zlong -nG__cpp_long.cxx -D__MAKE >> CINT__ -DG__MAKECINT -c-1 -A -I/home/cint-new/cint/inc -I../../.. >> -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Z0 >> longlong.h >> longdbl.h >> make[1]: *** [G__cpp_long.cxx] Error 53 >> make[1]: Leaving directory `/cint-new/cint/lib/longlong' >> rm: cannot remove `G__*': No such file or directory >> make: *** [longlong.cintdll] Error 1 >> >> It produced a cint.exe, cint_tmp.exe, makecint.exe and a static and >> dynamic library file. >> >> Had to rename the cint.exe and put in cint_tmp.exe in it's place. >> The cint.exe does nothing and is an 8KB file. >> The cint_tmp.exe is 2.7MB file that executes and runs. >> Replaced cint with the cint_tmp and I could run the debug.c demo to >> completion. >> >> > -- Michael McGarrah |
|
|
Re: Building CINT under Cygwin (and later MinGW)Hi,
Please note that lately on Windows we only have been testing using cygwin to run the build (i.e. gmake) but with the microsoft compiler (which you can get for free). The last time we checked gcc itself (under cygwin) had many problems, including very poor run-time performance. (I.e. unless you have a good reason not to, you should consider using the free microsoft compiler). Cheers, Philippe. Michael McGarrah wrote: > Thanks, > > The compiler I'm using is whatever GCC Cygwin has that is current as of today. > $ gcc --version > gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > > Tried replacing the line in shl.cxx: > OLD: short Cint::Internal::G__allsl = 0; > NEW: namespace Cint { namespace Internal { short G__allsl = 0; } } > > That seemed to get past the compile error. Not sure if the fix is > causing the followup errors. > > Next problem I'm hitting is the iosenum.h generation from the > build/libCint.mk file. I'm still digging into this one now but it > looks like the cint_tmp.exe that is being generated is not working. > > Manually running from top level directory "./bin/cint_tmp -Icint7/inc > cint7/include/iosenum.cxx" does not produce the iosenum.h file that is > expected at the top level. > > Tested the cint_tmp against HelloWorld.c and again no results come back. > > From libCint.mk > ############################################################## > # Generate ios enum value specific to the platform > ############################################################## > ... > (LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}:../lib DYLD_LIBRARY_ > PATH=../lib:.:$$DYLD_LIBRARY_PATH ../$(CINTTMP) $(G__CFG_INCP)inc include/iosenu > m.cxx ) && \ > mv -f iosenum.h include/iosenum.h); \ > ... > > Tried copying an iosenum.h from previous working environment but it > just cascades into more troubles so I'll probable backtrack to what is > broken above. > > Here is the error when I copied the iosenum.h file into place. > > $ make bin/cint.exe > cd cint7/src/dict && LD_LIBRARY_PATH=../../../lib:$LD_LIBRARY_PATH DYLD_LIBRARY_ > PATH=../lib:.:$DYLD_LIBRARY_PATH\ > ../../../bin/cint_tmp.exe -nApiif.cxx -NG__API -Z0 -D__MAKECINT__ \ > -c-1 -I../../inc -I../../../reflex/inc -I.. Api.h > make: *** [cint7/src/dict/Apiif.cxx] Error 53 > > I'll let you know if I figure anything out. > > Thanks again. > > On Wed, Jan 7, 2009 at 1:24 PM, Philippe Canal <pcanal@...> wrote: > >> Hi, >> >> >>> ERROR: Cygwin + Source Tarball 5.16.19 >>> details below >>> >> To solve the problem try >> rm src/Apii* >> >> >>> COMPILES: Cygwin + new SVN head >>> with configure setting to CINT5 --coreversion=old >>> The cint.exe does nothing and is an 8KB file. >>> >> This is odd (and is the source of all the other issues). Was there any >> error during the build >> of cint.exe (you can retry it by doing rm bin/cint.exe; gmake bin/cint.exe ) >> >> >>> ERROR: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) >>> details below >>> >> This is the environment I recommend focusing on (this is more or so the only >> active >> development environment). >> >> >>> cint7/src/shl.cxx:100: error: `Cint::I::G__allsl' should have been >>> declared inside `Cint::I' >>> make: *** [cint7/src/shl.o] Error 1 >>> >> humm ... which version of gcc is cygwin using? >> Try replacing line 100 of cint7/src/shl.cxx (i.e. short >> Cint::Internal::G__allsl=0;) >> by: >> namespace Cint { >> namespace Internal { >> short G__allsl = 0; >> } >> } >> >> Cheers, >> Philippe. >> >> Michael McGarrah wrote: >> >>> Hello, >>> >>> I'm trying to get a feel for the CINT tool and using Cygwin as a test >>> environment. My eventual goal is to embed CINT into a MinGW cross >>> compiled Win32 application to allow rapid testing of windows API >>> graphic routines under native windows and WINE. >>> >>> So far I've had a rocky start building the CINT tool. I've been >>> trying to build both the old and new SVN repositories and the source >>> tarball without straight forward success. I've been reading the mail >>> archives but didn't see anything that stood out. >>> >>> ERROR: Cygwin + Source Tarball 5.16.19 >>> details below >>> >>> ERROR: Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) >>> details below >>> >>> COMPILES: Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) >>> with revision: 2017 of Makefile >>> Out of date but produces a CINT.exe >>> >>> COMPILES: Cygwin + new SVN head >>> (http://root.cern.ch/svn/root/trunk/cint) with configure setting to >>> CINT5 --coreversion=old >>> Has a working cint.exe after some work. >>> >>> What environment should I be trying to make work at this time if I >>> want to use both MinGW and Cygwin? >>> >>> CINT is an interesting tool and I'm enjoying learning it. >>> >>> Thanks for your time. >>> >>> >>> Details: >>> >>> *** Cygwin + Source Tarball >>> >>> From the cint-5.16.19-source.tar.gz under a current Cygwin, the >>> "./configure" succeeds but the make fails. >>> >>> $ export PATH=$PWD/bin:$PATH >>> $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH >>> $ export CINTSYSDIR=$PWD >>> >>> $ ./configure --arch=cygwin >>> Using /usr/lib/libreadline.a >>> Using /usr/lib/libncurses.a >>> >>> Writing Makefile.conf... >>> Writing inc/configcint.h... >>> Done. >>> Run "make" to build cint. >>> Run "make help" to see the available build targets. >>> $ make >>> make -C src >>> make[1]: Entering directory `/cygdrive/c/Documents and >>> Settings/rvjmm02/Desktop/ >>> cint-tar/src' >>> g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN >>> -DG__HAVE_CONFIG -D >>> G__NOMAKEINFO -c Api.cxx >>> >>> ... (removed for brevity) ... >>> >>> g++ -I../inc -O2 -DG__GNUREADLINE -DG__CINTBODY -DG__CYGWIN >>> -DG__HAVE_CONFIG -D >>> G__NOMAKEINFO -c Apiif.cxx >>> Apiif.cxx: In function `int G__G__API_102_0_8(G__value*, const char*, >>> G__param*, >>> int)': >>> Apiif.cxx:78: error: `G__ExceptionWrapper' is not a member of `Cint' >>> Apiif.cxx: In function `void G__setup_memfuncCint()': >>> Apiif.cxx:3555: error: `G__ExceptionWrapper' is not a member of `Cint' >>> make[1]: *** [Apiif.o] Error 1 >>> make[1]: Leaving directory `/cint-tar/src' >>> make: *** [libcint.dll] Error 2 >>> >>> >>> *** Cygwin + SVN head (http://root.cern.ch/svn/root/trunk/cint) >>> >>> $ . ./setenv.sh >>> or >>> $ export PATH=$PWD/bin:$PATH >>> $ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH >>> $ export CINTSYSDIR=$PWD >>> >>> $ ./configure --arch=cygwin >>> Using new CINT core >>> Using /usr/lib/libreadline.dll.a >>> Using /usr/lib/libncurses.dll.a >>> >>> Creating build dirs... >>> Writing Makefile.conf... >>> Writing cint7/inc/configcint.h... >>> Writing bin/cint-config... >>> Writing config.status... >>> Creating Makefile... >>> Creating reconfigure... >>> Done. >>> >>> Run "make" to build cint. >>> Run "make help" to see the available build targets. >>> >>> $ make >>> echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN >>> -DG__STD_ >>> EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc -Icint7/src >>> -Ireflex/in >>> c -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- >>> tool/rmkdepe >>> nd//cppsetup.c >>> >>> ... (removed for brevity) ... >>> >>> g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG >>> -DG__ >>> NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY >>> -DREFLEX_CINT_MERG >>> E -DInternal=I -c tool/rmkdepend//mainroot.cxx -o >>> tool/rmkdepend//mainroot.o >>> g++ -O2 tool/rmkdepend//cppsetup.o tool/rmkdepend//ifparser.o >>> tool/rmkdepend// >>> include.o tool/rmkdepend//main.o tool/rmkdepend//parse.o >>> tool/rmkdepend//pr.o to >>> ol/rmkdepend//mainroot.o -o tool/rmkdepend/rmkdepend.exe >>> cp -f build/Makefile Makefile >>> tool/rmkdepend/rmkdepend.exe -R -fcint7/main/G__setup.d -Y -w 1000 -- -O2 >>> -DG >>> __CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint7/inc >>> -Icin >>> t7/src -Ireflex/inc -DG__CINTBODY -- cint7/main/G__setup.c >>> gcc -O2 -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO >>> -Ic >>> int7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -c cint7/main/G__setup.c >>> -o cint >>> 7/main/G__setup.o >>> tool/rmkdepend/rmkdepend.exe -R -fcint7/main/cppmain.d -Y -w 1000 -- -O2 >>> -DG__G >>> NUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO >>> -Icin >>> t7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE >>> -DInternal=I - >>> D__cplusplus -- cint7/main/cppmain.cxx >>> g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG >>> -DG__ >>> NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY >>> -DREFLEX_CINT_MERG >>> E -DInternal=I -c cint7/main/cppmain.cxx -o cint7/main/cppmain.o >>> tool/rmkdepend/rmkdepend.exe -R -fcint7/src/Api.d -Y -w 1000 -- -O2 >>> -DG__GNUREA >>> DLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO >>> -Icint7/in >>> c -Icint7/src -Ireflex/inc -DG__CINTBODY -DREFLEX_CINT_MERGE -DInternal=I >>> -D__cp >>> lusplus -- cint7/src/Api.cxx >>> >>> ... (removed for brevity) ... >>> >>> g++ -O2 -DG__GNUREADLINE -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG >>> -DG__ >>> NOMAKEINFO -Icint7/inc -Icint7/src -Ireflex/inc -DG__CINTBODY >>> -DREFLEX_CINT_MERG >>> E -DInternal=I -c cint7/src/shl.cxx -o cint7/src/shl.o >>> cint7/src/shl.cxx:100: error: `Cint::I::G__allsl' should have been >>> declared inside `Cint::I' >>> make: *** [cint7/src/shl.o] Error 1 >>> >>> >>> >>> *** Cygwin + old SVN tree (http://root.cern.ch/svn/cint/trunk) with >>> revision: 2017 of Makefile >>> >>> export PATH=$PWD/bin:$PATH >>> export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH >>> export CINTSYSDIR=$PWD >>> ./configure --arch=cygwin >>> make >>> >>> eventually produces a Cygwin cint.exe, makecint.exe and libcint.dll >>> >>> Produced cint ran the debug.c demo to completion. >>> >>> >>> *** Cygwin + new SVN head (http://root.cern.ch/svn/root/trunk/cint) >>> with config setting to CINT5 --coreversion=old >>> >>> $ make clean >>> $ ./configure --arch=cygwin --coreversion=old >>> Using /usr/lib/libreadline.dll.a >>> Using /usr/lib/libncurses.dll.a >>> >>> Creating build dirs... >>> Writing Makefile.conf... >>> Writing cint/inc/configcint.h... >>> Writing bin/cint-config... >>> Writing config.status... >>> Creating Makefile... >>> Creating reconfigure... >>> Done. >>> >>> Run "make" to build cint. >>> Run "make help" to see the available build targets. >>> >>> $ make >>> echo -R -ftool/rmkdepend//cppsetup.d -Y -w 1000 -- -O2 -DG__CYGWIN >>> -DG__STD_ >>> EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Icint/inc -Icint/src >>> -Ireflex/inc >>> -DG__CINTBODY -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -- >>> tool/rmkdepend >>> //cppsetup.c >>> ... >>> Eventually produces Cygwin cint.exe, makecint.exe and a libcint.dll >>> Failed in the lib compiles apparently because of a space in my PATH. >>> Moving build directory to remove the space and retrying. >>> >>> $ . setenv.sh >>> $ make >>> >>> lots of errors trying to build stuff in the /cint-new/cint/lib/ directory >>> >>> ########################################################################## >>> # makecint : interpreter-compiler for cint (Windows Cygwin DLL version) >>> # Copyright(c) 1995~2007 Masaharu Goto. Mailing list: cint@... >>> ########################################################################## >>> Run 'make -f Makefile' to compile the object >>> make[1]: Entering directory `/cint-new/cint/lib/longlong' >>> /cint-new/bin/cint.exe -w2 -zlong -nG__cpp_long.cxx -D__MAKE >>> CINT__ -DG__MAKECINT -c-1 -A -I/home/cint-new/cint/inc -I../../.. >>> -DG__CYGWIN -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -Z0 >>> longlong.h >>> longdbl.h >>> make[1]: *** [G__cpp_long.cxx] Error 53 >>> make[1]: Leaving directory `/cint-new/cint/lib/longlong' >>> rm: cannot remove `G__*': No such file or directory >>> make: *** [longlong.cintdll] Error 1 >>> >>> It produced a cint.exe, cint_tmp.exe, makecint.exe and a static and >>> dynamic library file. >>> >>> Had to rename the cint.exe and put in cint_tmp.exe in it's place. >>> The cint.exe does nothing and is an 8KB file. >>> The cint_tmp.exe is 2.7MB file that executes and runs. >>> Replaced cint with the cint_tmp and I could run the debug.c demo to >>> completion. >>> >>> >>> > > > > |
| Free embeddable forum powered by Nabble | Forum Help |