Okay, I messed up my program. I have been working on this project and recovering from a heart issue. I created a linkage section in a standalone program when I should not. Simon I would like thank you for responding to my questions/problems. Also having the patience with some of my stupid questions. Trolley78
Thanks Simon; however it does give more information, but not necessarily what the problem is. I noticed in both the Windows and Linux log file for the compile, I'm getting this warning; executing: gcc -c -std=c11 -Wdeclaration-after-statement -fstack-protector-strong -fstack-clash-protection -pipe -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/mingw64/include -Wno-unused -fsigned-char -Wno-pointer-sign -O -I"C:/gnucobol/gc33/include" -o "C:\Users\richd\AppData\Local\Temp\cob7960_0.o"...
I working on creating a standalone program using Cobjapi. I created a basic shell of the program. It compiles just fine under Windows. However, when I go to execute the program, I get the following error; attempt to reference invalid memory address (signal SIGSEGV) I decided to see what happens under Linux (manjaro). I compiles again just fine and I get the same error, but I get an additional error; Segmentation fault (core dumped) menuedit - program name. I checked this forum and only found unallocated...
As anyone used Superbol to build a program that uses Cobjapi? I am having a problem and before I dig any further, I want to make sure the process works. Rich Di Iulio
I cannot get Windows make to work. It strips out the \from variables. I have attached my Makefile and the log file.
Simon, Trying to get one code workspace and one Makefile is difficult. In fact you cannot use one code workspace and Superbol. Superbol crashes will not work. I am fine with that. I cannot seem to get Superbol to work with Cobjapi. I am left with either using a command line script or make. See further down on how I am working with that. I do really appreciate the help and suggestions people give me.
Ralph, So what would you suggest? I prefer using a framework that helps me with development. My latest work is on SCO Openserver using RM/COBOL. I have only Emacs to work with on the source code. I developed a few scripts to build code within Emacs. Those same scripts I can use to compile code on Linux and Windows. I generally try to write similar scripts to run on Linux and Windows.
Okay, I switched everything up and gone with make. I am running into a problem with running in Windows, fails. I have tried two methods. In both cases it changes the / to either \ or \\. Has anyone got a cross platform make to work? I am beginning to think the problem could be made worse by VS Codium.