Illegal Instruction
Illegal Instruction
- Subject: Illegal Instruction
- From: Heidi Zhou <email@hidden>
- Date: Mon, 9 Jul 2007 11:48:50 -0700 (PDT)
Hello!
I got Illegal instruction when I tried to run the
small test program I made. The way of I compile and
link is
g++ -g -Wall -Iinclude -I./../include -DDarwin -DDEBUG
-c test/test.cpp -o test/bin_osx/test.o
ld test/bin_osx/test.o -o test/bin_osx/mytest
-lstdc++.6 -lgcc_s.1 -lpthread
Here is the information of my system
$ uname -p
i386
$ uname -v
Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT
2007; root:xnu-792.22.5~1/RELEASE_I386
What I did is wrong that cause the illegal
instruction?
Thank you in advance for your help.
Heidi
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden