• 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
Debug Configuration Linking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debug Configuration Linking


  • Subject: Debug Configuration Linking
  • From: email@hidden
  • Date: Sun, 18 Jun 2006 02:38:33 -0400

1) I have a static library that I compiled from source (the Irrlicht engine library); naturally, I compiled this library using the Release Configuration.

When I compile my program using the Debug Configuration and then link against this library, I get the following error:
/usr/bin/ld: /Path/To/IrrlichtLibrary.a(png.o) has local relocation entries in non-writable section (__TEXT,__text)
collect2: ld returned 1 exit status


However, when I compile my program using the Release Configuration, the linking succeeds, and the program runs.



2) Then I compiled the Irrlicht library using the Debug Configuration. Then my program compiled, linked, and ran using either of the Debug or Release Configuration.

Thus, the Debug Configuration of my program doesn't like something about the Release Configuration used to build the Irrlicht library.
How can I use a Release Configuration library and still debug my program?


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: Debug Configuration Linking
      • From: email@hidden
  • Prev by Date: Re: How do debug past fork()?
  • Next by Date: Re: How do debug past fork()?
  • Previous by thread: Re: How do debug past fork()?
  • Next by thread: Re: Debug Configuration Linking
  • Index(es):
    • Date
    • Thread