05-24-2011
I thought you were commenting on the assignment of an array to a pointer.
10 More Discussions You Might Find Interesting
1. Programming
I ran degugger in C++ and the followings are the message I got:
Program received signal SIGABRT, Aborted.
0x002a57a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) info s
#0 0x002a57a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x002e97f5 in raise () from /lib/tls/libc.so.6... (1 Reply)
Discussion started by: napapanbkk
1 Replies
2. Programming
Dear all,
I used debugger from C++ and these are the message I got:
Program received signal SIGSEGV, Segmentation fault.
0x00323fc0 in free () from /lib/tls/libc.so.6
(gdb) info s
#0 0x00323fc0 in free () from /lib/tls/libc.so.6
#1 0x00794fa1 in operator delete () from... (5 Replies)
Discussion started by: napapanbkk
5 Replies
3. Forum Support Area for Unregistered Users & Account Problems
I have tried to register and got a message saying an email would be sent but no email has turned up. Could you try again please? (1 Reply)
Discussion started by: lookingfor help
1 Replies
4. AIX
Hello,
One of our customer is getting segmentation fault when he runs his shell script which invokes our executable on AIX 6.1.
On AIX 5.3, there were no issues.
Here is the truss output.
811242: __loadx(0x0A040000, 0xF0D3A26C, 0x00000000, 0x00000009, 0x00000000) = 0xF026E884... (0 Replies)
Discussion started by: erra_krishna
0 Replies
5. AIX
Hi to all,
i am trying to make mksysb backup of a NIM client machine from NIM master and while i am reading that the backup is done successfully i get an error message below and it doesnt exit the smit screen. also the status of the command appears to be running.
is there anybody who knows why... (3 Replies)
Discussion started by: omonoiatis9
3 Replies
6. Programming
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:
client:Knock Knock
server:who's there
client: Eric
Server:Eric,Welcome.
client:exit
all process terminated
... (1 Reply)
Discussion started by: ouou
1 Replies
7. Programming
Im using gdb and when a user disconnects from my server I receive a message
Program received signal SIGABRT, Aborted.
0x7ffe0304 in ?? ()
I was hoping someone here might have a explination for this message in gdb (26 Replies)
Discussion started by: Errigour
26 Replies
8. Forum Support Area for Unregistered Users & Account Problems
I have tried to register today with the username BatterBits, but have not received the activation email
I do not live in any of the restricted countries - unless the UK has suddenly become a threat!
I'd be grateful if you would assist.
many thanks
Ian (2 Replies)
Discussion started by: unregistered
2 Replies
9. UNIX for Beginners Questions & Answers
I have a program that i need to get done that gets the person's name and his grade then prints it in this order "name-grade-gradeletter" so i wrote this code:
#!/bin/bash
while :; do
read -p "Enter the person's name: " name
read -p "Enter the grade of the person: " grade
case $grade in
)... (3 Replies)
Discussion started by: UniverseCloud
3 Replies
10. Shell Programming and Scripting
Multiple questions coming your way.
A little back ground info as to why I am back to basics.
A dear friend of mine passed away recently and as a request by him I have promised to keep his project alive. The problem I have it was being handed over when he was in the last weeks of his life and... (1 Reply)
Discussion started by: nobbyall
1 Replies
xcrun
xcrun -- run or locate development tools
SYNOPSIS
xcrun [-sdk SDK] -find <tool_name>
xcrun [-sdk SDK] [-log] <tool_name> [<tool_arguments>]
<tool_name> [<tool_arguments>]
DESCRIPTION
xcrun provides a means locate or invoke coexistence- and platform-aware developer tools from the command-line, without requiring users to
modify makefiles or otherwise take laborious or inconvenient measures to adopt Xcode's multiple tool chains.
xcode-select is used to specify which installation of Xcode is used, and may be overridden by the DEVELOPER_DIR environment variable.
The SDK defaults to the current OS SDK, and can be specified by SDKROOT environment variable or the -sdk flag (which takes precedences over
SDKROOT).
USAGE
The first usage returns the full path to the found tool_name.
The second usage executes tool_name with the given tool_arguments.
The last syntax is when xcrun replaces any of the standard UNIX developer tools (typically in /usr/bin). In this case, xcrun will use its
tool name to locate the corresponding tool within evaluated DEVELOPER_DIR and SDK.
If the tool is not named xcrun , tool_arguments are not parsed by xcrun.
OPTIONS
-verbose
display information about how the redirected path is constructed.
-no-cache
don't consult the cache when looking up values. In effect, causes the cache to be refreshed.
-sdk SDK
specifies which SDK to use. Overrides any SDKROOT set in the environment.
-log print the full command line that is invoked.
-find
print the full path to the tool.
ENVIRONMENT
DEVELOPER_DIR - specifies the search path for locating the current developer tools (overrides xcode-select default).
SDKROOT - specifies the SDK to use; overriden by the command line -sdk flag.
xcrun_log - same as specifying -log
xcrun_nocache - same as specifying -no-cache
xcrun_verbose - same as specifying -verbose
DIAGNOSTICS
When xcrun is invoked with the name xcrun , the flags -log and -verbose are useful debugging aids. The flag -no-cache can be used to bypass
cache lookup.
When xcrun as taken the place of another tool, the arguments are those of the tool replaced, and the various xcrun flags can't be used. In
this case, use the specific environment variables instead.
SEE ALSO
xcodebuild -find Xcode coexistence