EH? you do not RUN the files with gcc, you MAKE them with gcc, from sourcecode.
then to run your file, the comand ./file is used.
that tells the shell that the executable is in the directory you are in and that it should try to execute it.
Is it possible to run C compiled files with GCC , while running Knoppix? I've tryed in several ways ( prog, ./prog, etc... ) but the console always tells me that it can't run binary files.
Isn't there a way?
Regards,
Kepler
EH? you do not RUN the files with gcc, you MAKE them with gcc, from sourcecode.
then to run your file, the comand ./file is used.
that tells the shell that the executable is in the directory you are in and that it should try to execute it.
Hi, dear friend,
Of course you are right...I didn't mean to run files with GCC. As for the ./file it doesn't work - I've tryed; not even after a chmod +x
Regards,
Kepler

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50
Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99
Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99
Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00
Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99
LENOVO THINKPAD T14 GEN 2i CORE I7-11165G7 2.8GHZ 16GB 256 SSD WCAM WI1 CORD
$250.00
Lenovo - IdeaPad Slim 3i 15.3" 2K Touchscreen Laptop - Intel Core 7 350 2026 ...
$679.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$242.00
Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99