10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
2. UNIX for Dummies Questions & Answers
Hi friends,
I am trying to execute some of our scripts and apparently I had this error message:
bash: print: command not found
Every other scripts runs smoothly excepts this that uses the print command. I search the /bin and it was not there. I also tried to search in the whole folder... (5 Replies)
Discussion started by: kokoro
5 Replies
3. Shell Programming and Scripting
Hello every one, i want to convert my shell script into a binary executable a .exe file , is it possible to do that if so are there any tools . Would the script take off when the arguments are parsed.
Thanks
Venu (13 Replies)
Discussion started by: venu
13 Replies
4. Programming
Hey, i cant seem to find #include<sqlite3> in the libraries, even after installing sqlite3 in linux. how do i solve this problem (1 Reply)
Discussion started by: gregarion
1 Replies
5. Shell Programming and Scripting
Hi
I have an oracle perl script running as cron job across multiple unix servers. The issue is the perl binary is found in multiple directories
I use in the start of the script ...
#!/usr/bin/perl
on some servers the script fails because /usr/bin/perl is not present. Is there a way i can... (4 Replies)
Discussion started by: PrasannaKS
4 Replies
6. Shell Programming and Scripting
hi
i wanna ask that can UNIX scripts be converted into exe files?? if so, how?? and can these scripts be implemented using c++ and using their executable...
---------- Post updated at 02:33 PM ---------- Previous update was at 10:53 AM ----------
plz anybody reply.... and ya i want to... (5 Replies)
Discussion started by: umarbangash
5 Replies
7. UNIX for Dummies Questions & Answers
how would i link 2 files together?
is it the same as copying? (1 Reply)
Discussion started by: trob
1 Replies
8. AIX
hello,
Is the code compiled under Visual Age C++ Broker (a third party library) - can be used to link against a code compiled from gcc compiler.
I have a problem in building xerces in AIX
Please reply.
Regards,
Parthasarathy (1 Reply)
Discussion started by: Parthasarathy
1 Replies
9. Linux
Hi all
i am trying to implement a shared library an my system and follow the following steps
I created two files and created object files
gcc -fPIC -c file1.c
gcc -fPIC -c file2.c
Now when i tried to create a shared library i am receiving different results when i try to use various options... (0 Replies)
Discussion started by: joshighanshyam
0 Replies
10. Programming
Hi
I'm getting
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
When I run
ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o
after running
gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c
I'm... (6 Replies)
Discussion started by: laho
6 Replies
Tcl_FindExecutable(3) Tcl Library Procedures Tcl_FindExecutable(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_FindExecutable, Tcl_GetNameOfExecutable - identify or return the name of the binary file containing the application
SYNOPSIS
#include <tcl.h>
void
Tcl_FindExecutable(argv0)
const char *
Tcl_GetNameOfExecutable()
ARGUMENTS
char *argv0 (in) The first command-line argument to the program, which gives the application's name.
_________________________________________________________________
DESCRIPTION
The Tcl_FindExecutable procedure computes the full path name of the executable file from which the application was invoked and saves it for
Tcl's internal use. The executable's path name is needed for several purposes in Tcl. For example, it is needed on some platforms in the
implementation of the load command. It is also returned by the info nameofexecutable command.
On UNIX platforms this procedure is typically invoked as the very first thing in the application's main program; it must be passed argv[0]
as its argument. It is important not to change the working directory before the invocation. Tcl_FindExecutable uses argv0 along with the
PATH environment variable to find the application's executable, if possible. If it fails to find the binary, then future calls to info
nameofexecutable will return an empty string.
Tcl_GetNameOfExecutable simply returns a pointer to the internal full path name of the executable file as computed by Tcl_FindExecutable.
This procedure call is the C API equivalent to the info nameofexecutable command. NULL is returned if the internal full path name has not
been computed or unknown.
KEYWORDS
binary, executable file
Tcl 8.1 Tcl_FindExecutable(3)