site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=pyfhnWCrdxWSk2E9xmMu+efSlPfJAjHNidvKkXgbBLZHgHdAtQ4UoyXzk6t7mLQXK/dni4ZvzdRT6RWuZJLf096dpsYcYiMk8tHJZVzT9xTFaQcV1Nufp3VLcSjzChElu8U0E+qtnaKUmBVT8cxkkHF5LKU4Ha2YVg7/v/Atk30=; 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com