Doreen
2017-03-31 17:00:35 UTC
I am looking for some help building insight 6.6 under MinGW. Let me start
with why I need help since I've seen other posts where people ask why the
person doesn't use a pre-built version or a newer version.
Why: We currently use insight 6.6 with local changes to address some issues
and interface with a specific BDM. Building software for Windows is far
from my area of expertise. However, those that worked on our local build of
insight have left and there are issues with our local archive. I am unable
to rebuild from our archive. I am attempting to start over with a fresh
insight 6.6 and get that to build first. Then I will look into applying our
changes. This post is regarding getting a fresh build of insight 6.6.
I have done a lot of searching and am aware that there are issues building
insight 6.6 with MinGW/MSys. But being a newbie to building Windows
applications is likely causing me to not fully understand what I am reading.
So if the answer seems obvious to those of you with experience, please bear
with me as it is all new to me. Thank you.
I have installed the latest MinGW/MSys and I am trying to build from
insight-6.6-mingw-src.tar.bz2. From other's posts, that sounded like it
should work. My only guess is that I am missing something else that is
required or I did not install a MinGW package that is needed. In MinGW
Installation Manager, I only selected mingw32-base and msys-base under Basic
Setup.
The issue I am stuck on is:
tclWinChan.o: In function `Tcl_MakeFileChannel':
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1052:
undefined reference to `ESP'
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1052:
undefined reference to `EBP'
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1067:
undefined reference to `ESP'
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1067:
undefined reference to `EBP'
I can see that HAVE_NO_SEH=1 and DEXCEPTION_DISPOSITION=int which as best
I've been able to figure out is correct for building under MinGW/MSys.
Below is the build/link line that results in the fatal error as well as the
corresponding compile line.
Compile:
gcc -c -g -O2 -Wall -Wconversion
-I"../../../../src/insight-6.6-mingw/tcl/win/../generic"
-I"../../../../src/insight-6.6-mingw/tcl/win" -mwin32 -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DBUILD_tcl
../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c -o tclWinChan.o
Build/Link:
gcc -shared -g -O2 -o tcl84.dll -mwin32
-Wl,--out-implib,libtcl84.a regcomp.o regexec.o regfree.o regerror.o
tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o
tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o
tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o
tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o
tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink.o tclLiteral.o
tclListObj.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o
tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o
tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o
tclStubInit.o tclStubLib.o tclThread.o tclThreadAlloc.o tclThreadJoin.o
tclTimer.o tclUtf.o tclUtil.o tclVar.o tclWin32Dll.o tclWinChan.o
tclWinConsole.o tclWinSerial.o tclWinError.o tclWinFCmd.o tclWinFile.o
tclWinInit.o tclWinLoad.o tclWinMtherr.o tclWinNotify.o tclWinPipe.o
tclWinSock.o tclWinThrd.o tclWinTime.o strftime.o strtoll.o strtoull.o
tcl.res.o
Any assistance you could give would be greatly appreciated.
Doreen
--
View this message in context: http://mingw-users.1079350.n2.nabble.com/Correctly-building-insight-6-6-mingw-src-tp7584717.html
Sent from the MinGW-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe
with why I need help since I've seen other posts where people ask why the
person doesn't use a pre-built version or a newer version.
Why: We currently use insight 6.6 with local changes to address some issues
and interface with a specific BDM. Building software for Windows is far
from my area of expertise. However, those that worked on our local build of
insight have left and there are issues with our local archive. I am unable
to rebuild from our archive. I am attempting to start over with a fresh
insight 6.6 and get that to build first. Then I will look into applying our
changes. This post is regarding getting a fresh build of insight 6.6.
I have done a lot of searching and am aware that there are issues building
insight 6.6 with MinGW/MSys. But being a newbie to building Windows
applications is likely causing me to not fully understand what I am reading.
So if the answer seems obvious to those of you with experience, please bear
with me as it is all new to me. Thank you.
I have installed the latest MinGW/MSys and I am trying to build from
insight-6.6-mingw-src.tar.bz2. From other's posts, that sounded like it
should work. My only guess is that I am missing something else that is
required or I did not install a MinGW package that is needed. In MinGW
Installation Manager, I only selected mingw32-base and msys-base under Basic
Setup.
The issue I am stuck on is:
tclWinChan.o: In function `Tcl_MakeFileChannel':
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1052:
undefined reference to `ESP'
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1052:
undefined reference to `EBP'
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1067:
undefined reference to `ESP'
w:\DevEnv\GNU\coldfire\build\insight\tcl\win/../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c:1067:
undefined reference to `EBP'
I can see that HAVE_NO_SEH=1 and DEXCEPTION_DISPOSITION=int which as best
I've been able to figure out is correct for building under MinGW/MSys.
Below is the build/link line that results in the fatal error as well as the
corresponding compile line.
Compile:
gcc -c -g -O2 -Wall -Wconversion
-I"../../../../src/insight-6.6-mingw/tcl/win/../generic"
-I"../../../../src/insight-6.6-mingw/tcl/win" -mwin32 -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DBUILD_tcl
../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c -o tclWinChan.o
Build/Link:
gcc -shared -g -O2 -o tcl84.dll -mwin32
-Wl,--out-implib,libtcl84.a regcomp.o regexec.o regfree.o regerror.o
tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o
tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o
tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o
tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o
tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink.o tclLiteral.o
tclListObj.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o
tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o
tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o
tclStubInit.o tclStubLib.o tclThread.o tclThreadAlloc.o tclThreadJoin.o
tclTimer.o tclUtf.o tclUtil.o tclVar.o tclWin32Dll.o tclWinChan.o
tclWinConsole.o tclWinSerial.o tclWinError.o tclWinFCmd.o tclWinFile.o
tclWinInit.o tclWinLoad.o tclWinMtherr.o tclWinNotify.o tclWinPipe.o
tclWinSock.o tclWinThrd.o tclWinTime.o strftime.o strtoll.o strtoull.o
tcl.res.o
Any assistance you could give would be greatly appreciated.
Doreen
--
View this message in context: http://mingw-users.1079350.n2.nabble.com/Correctly-building-insight-6-6-mingw-src-tp7584717.html
Sent from the MinGW-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe