| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Linux and GCC |
Hi Neil. 21-May-03 21:30:00, Neil Heller wrote to All NH> I just created hello_world.out with gcc. From the command line I NH> typed hello_world and hello_world.out and got the same reply both NH> times: No such function. How does one normally launch an NH> executable application from the command line in *nix? GCC normally makes a file called a.out so I guess you overrode that Normally keep it in the $PATH somewhere and just run it by name but in this case it's probably easier to do ./hello_world.out Unlike DOS, etc unix doesn'r search the current directory for executables, if you have one there and it's not in the path you have to specify it. -=> Bye <=- ---* Origin: One less than the checksum of "Jasen Betts" (3:640/1042) SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.