• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
gcc crashes when compiling with debug symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc crashes when compiling with debug symbols


  • Subject: gcc crashes when compiling with debug symbols
  • From: Igor R <email@hidden>
  • Date: Tue, 1 Dec 2009 13:10:27 +0200

Hello,

I'm porting to iPhone (SDK 3.1.2, XCode3.2.1) rather big static
library written in c++. It compiles and works well under the simulator
both in debug and in release modes.
But when I try to compile it for the device, gcc4.2 crashes ("exists
with code 1"). I found-out that if I switch off debug symbols
generation, the compilation succeeds. However, then I can't debug the
application on iPhone - it doesn't stop on breakpoints and I can't
step through the code.
Is there any way to know *where* the compiler crashes exactly, i.e.
source/line? Does gcc have some log? Any idea would be greatly
appreciated!

Thanks.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: gcc crashes when compiling with debug symbols
      • From: Oftenwrong Soong <email@hidden>
  • Prev by Date: Framework with static instead of dynamic library?
  • Next by Date: Re: OK on Windows C++
  • Previous by thread: Framework with static instead of dynamic library?
  • Next by thread: Re: gcc crashes when compiling with debug symbols
  • Index(es):
    • Date
    • Thread