The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------gcc -c /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof.c -o /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof.og++ -o /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof.o Process terminated with status 0 (0 minute(s), 2 second(s))0 error(s), 0 warning(s) (0 minute(s), 2 second(s))
$ ls -lAtrtotal 176-rwxrwx--x 1 edward 1002 581 Nov 24 2013 FileExistance.c-rwxrwx--x 1 edward 1002 2083 Mar 28 2016 playwav-sdl.cdrwxrwx--x 3 edward 1002 4096 Mar 4 21:21 cppdrwxrwx--x 2 edward 1002 4096 Mar 4 21:21 'learning asynchronous programming'-rwxr-xr-x 1 edward edward 120 Jun 5 10:36 test.c-rwxr-xr-x 1 edward edward 16632 Jun 5 10:36 a.outdrwxr-xr-x 4 edward edward 4096 Jun 5 13:54 Ch02-01drwxr-xr-x 2 edward edward 4096 Jun 5 14:40 pre-defined-headers-rwxr-xr-x 1 edward edward 966 Jun 5 15:32 staticvar.c-rw-r--r-- 1 root root 2960 Jun 5 15:33 staticvar.o-rwxr-xr-x 1 root root 16808 Jun 5 15:33 staticvar-rwxr-xr-x 1 edward edward 2576 Jun 5 16:25 bubblesort.c-rwxr-xr-x 1 edward edward 3040 Jun 5 16:50 quicksort.c-rwxr-xr-x 1 edward edward 235 Jun 5 16:58 using-strlen.c-rwxr-xr-x 1 edward edward 732 Jun 6 07:03 array-passin-and-return-values.c-rwxr-xr-x 1 edward edward 845 Jun 6 07:35 struct-pass-ins.c-rwxr-xr-x 1 edward edward 788 Jun 6 08:10 struct-curlybracketsassign.c-rwxr-xr-x 1 edward edward 745 Jun 6 08:14 struct-arrays-of-structs.c-rwxr-xr-x 1 edward edward 951 Jun 6 08:19 struct-array-swap-elements.c-rwxr-xr-x 1 edward edward 1433 Jun 6 08:23 struct-returnvalue.c-rwxr-xr-x 1 edward edward 741 Jun 6 08:44 pointers-addressof.c-rwxr-xr-x 1 edward edward 308 Jun 6 08:59 pointers-incrementing.c-rwxr-xr-x 1 edward edward 495 Jun 6 09:07 pointers-incrementing-usingduplicatestring.c-rwxr-xr-x 1 edward edward 585 Jun 6 09:13 pointers-incrementing-plusplusbefore-orafter.c-rwxr-xr-x 1 edward edward 157 Jun 6 09:20 count.c-rwxr-xr-x 1 edward edward 371 Jun 6 10:51 pointers-loops-increments-with-int_iterator.c-rw-r--r-- 1 edward edward 2648 Jun 13 14:18 pointers-addressof.o-rwxr-xr-x 1 edward edward 16624 Jun 13 14:18 pointers-addressof
What happens if you run the executable from terminal?
gcc -c pointers-addressof.c -o pointers-address-of.run/pointers-address-of.runbash: ./pointers-address-of.run: Permission deniededward@zotac-desktop:/media/IDE/ProgrammingCode/0._Console/c_programs$ chmod + ./pointers-address-of.runedward@zotac-desktop:/media/IDE/ProgrammingCode/0._Console/c_programs$ ./pointers-address-of.runbash: ./pointers-address-of.run: Permission deniededward@zotac-desktop:/media/IDE/ProgrammingCode/0._Console/c_programs$ sudo chmod -R 777 .edward@zotac-desktop:/media/IDE/ProgrammingCode/0._Console/c_programs$ ./pointers-address-of.runbash: ./pointers-address-of.run: Permission deniededward@zotac-desktop:/media/IDE/ProgrammingCode/0._Console/c_programs$ ls -ltotal 188...-rwxrwxrwx 1 edward edward 16624 Jun 13 14:18 pointers-addressof-rwxrwxrwx 1 edward edward 741 Jun 6 08:44 pointers-addressof.c-rwxrwxrwx 1 edward edward 2648 Jun 14 17:34 pointers-addressof.o-rwxrwxrwx 1 edward edward 2648 Jun 14 17:38 pointers-address-of.run
> "no target" in "no project"Building without a Code::Blocks project can be unhealthy indeed...
gcc -c pointers-addressof.c -o pointers-address-of.run/pointers-address-of.runbash: ./pointers-address-of.run: Permission denied-rwxrwxrwx 1 edward edward 16624 Jun 13 14:18 pointers-addressof-rwxrwxrwx 1 edward edward 2648 Jun 14 17:34 pointers-addressof.o-rwxrwxrwx 1 edward edward 2648 Jun 14 17:38 pointers-address-of.run
-c Compile or assemble the source files, but do not link. The linking stage simply is not done. The ultimate output is in the form of an object file for each source file. By default, the object file name for a source file is made by replacing the suffix .c, .i, .s, etc., with .o.
Codegcc -c pointers-addressof.c -o pointers-address-of.run/pointers-address-of.runbash: ./pointers-address-of.run: Permission denied-rwxrwxrwx 1 edward edward 16624 Jun 13 14:18 pointers-addressof-rwxrwxrwx 1 edward edward 2648 Jun 14 17:34 pointers-addressof.o-rwxrwxrwx 1 edward edward 2648 Jun 14 17:38 pointers-address-of.runGoogle "GCC flags":Code-c Compile or assemble the source files, but do not link. The linking stage simply is not done. The ultimate output is in the form of an object file for each source file. By default, the object file name for a source file is made by replacing the suffix .c, .i, .s, etc., with .o. Why are you trying to run the object file instead of the compiled binary? Even the file size should hint at that...
Do not mess with ownerships outside your home directory.C::B uses the paths listed in Project -> Build options -> Search directories -> Compiler tab.
What is the file system of the other drive? Is it linux compatible?If it is fat or ntfs, you're probably out of luck or at least you'll have to read about umasks during mounting.
In the options, when you add user it also implies noexec.noexec will not allow any binaries on the mounted file system to be executed.Take a look at the mount MAN page for more information concerning the available options