Results 1 to 3 of 3

Thread: Running compiled files

  1. #1
    Junior Member registered user
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    25

    Running compiled files

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    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.

  3. #3
    Junior Member registered user
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    25

    Of course

    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

Similar Threads

  1. Permission problem running a compiled C++ program
    By palmerac in forum General Support
    Replies: 3
    Last Post: 08-01-2005, 09:00 AM
  2. C compiled files with Knoppix
    By kepler in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 11-10-2004, 04:32 PM
  3. when running or stopping knoppix are files left in HD?
    By glt4392 in forum General Support
    Replies: 2
    Last Post: 03-13-2004, 09:32 PM
  4. Request for MPPE compiled in...
    By Vermyndax in forum Ideas
    Replies: 1
    Last Post: 03-28-2003, 10:05 PM
  5. Can't run vortex-diag which I compiled for my NIC
    By Sport in forum General Support
    Replies: 2
    Last Post: 02-05-2003, 03:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch picture

Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch

$42.00



Cisco Catalyst WS-C3650-24PS-L 24-Port Gigabit Ethernet Network Switch TESTED picture

Cisco Catalyst WS-C3650-24PS-L 24-Port Gigabit Ethernet Network Switch TESTED

$49.99



Cisco Nexus 9300 48-Port 25GbE SFP 6x100GbE QSFP Switch P/N: N9K-C93180YC-EX picture

Cisco Nexus 9300 48-Port 25GbE SFP 6x100GbE QSFP Switch P/N: N9K-C93180YC-EX

$499.99



Dell PowerConnect 6224 Rackmount 24-Port Gigabit Managed Ethernet Network Switch picture

Dell PowerConnect 6224 Rackmount 24-Port Gigabit Managed Ethernet Network Switch

$31.99



TP-Link Metal 8-Port Gigabit Ethernet Switch Fanless Unmanaged L2+ TL-SG108(UN) picture

TP-Link Metal 8-Port Gigabit Ethernet Switch Fanless Unmanaged L2+ TL-SG108(UN)

$15.00



TP-LINK TL-SF1005D 5-Port 10/100Mbps Desktop Switch picture

TP-LINK TL-SF1005D 5-Port 10/100Mbps Desktop Switch

$8.99



NETGEAR GS305E 5-Port Gigabit Ethernet SOHO Plus Switch picture

NETGEAR GS305E 5-Port Gigabit Ethernet SOHO Plus Switch

$5.99



NEW TP-Link TL-SG108PE 8-port Gigabit PoE+ Swith w/ 4-port PoE -RES LLC STORE- picture

NEW TP-Link TL-SG108PE 8-port Gigabit PoE+ Swith w/ 4-port PoE -RES LLC STORE-

$49.50



Cisco Small business SG300-28P Managed 28 Port Gigabit Ethernet Switch  picture

Cisco Small business SG300-28P Managed 28 Port Gigabit Ethernet Switch

$67.95



TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D picture

TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D

$59.49