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
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$350.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$214.98
Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11
$235.00
Dell T7810 Workstation 1x E5-2603 v3 16GB RAM Nvidia QUADRO +cables
$120.00
AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed
$309.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$14.99
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$544.99
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$349.99
Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11
$523.00