|
Get memory fault (core dumped) problem
|
02/26/2012 11:21 PM
post91791
|
Get memory fault (core dumped) problem
I have qnxsdp-6.5 installed on my host pc (Vista), and installed QNX on VMware player 4.0.
run qconfig on host pc:
QNX Installations
Installation Name: QNX Software Development Platform 6.5.0
Version: 6.5.0
Base Directory: C:/QNX650
QNX_HOST: C:/QNX650/host/win32/x86
QNX_TARGET: C:/QNX650/target/qnx6
Additional Packages
run qconfig on qnx
QNX Installations
Installation Name: QNX Software Development Platform 6.5.0
Version: 6.5.0
Base Directory: /usr/qnx650/
QNX_Host: /usr/qnx650/host/qnx6/x86
QNX_target: /usr/qnx650/target/qnx6
The default c++ QNX project can be compiled and run from IDE OK, and I can see the program out "Welcome to the QNX
Momentics IDE". but when I transfer the executable file to qnx, and run it from the terminal, I got memory fault (core
dumped) message.
If I transfer the source file (.cc) files to qnx and compile the source file on QNX instead of IDE, the binary file can
run without memory fault.
|
|
|