Hi Mlugers I wrote about a dozen programs in C for Linux. These are for 32bit and 64 bit systems, have been tested in Ubuntu, Fedora, Mint etc within the directories in which they were compiled and linked.
When I move the programs to the appropriate /bin ~/bin for example, and run the program from my home directory (~) each program generates a segmentation error. This occurs as the program exits back to Linux. If I move bash scripts to these same /bin directories, there is no problem with the scripts. Is there a security setting for the programs, or something I forget to do? Currently their default settings are 755 If I test the code in the directory in which it was created using ./ as ./programname , everything is fine. What did I forget to do? Programs exit with a return(0); or with exit(error code); Regards Leslie Mr. Leslie Satenstein 50 years in Information Technology and going strong. Yesterday was a good day, today is a better day, and tomorrow will be even better. mailto:[email protected] alternative: [email protected] www.itbms.biz www.eclipseguard.com
_______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
