• 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
Env differences between debug and non-debug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Env differences between debug and non-debug


  • Subject: Env differences between debug and non-debug
  • From: Michael Cashwell <email@hidden>
  • Date: Mon, 15 Dec 2003 15:46:52 -0500

Greetings all,

A coworker has asked me a question that seems similar to issues I've seen go by lately but I can't find the answer in my cache of xcode-users messages and the archives are not (yet) searchable. So I said I send along his question.

He's working on an X11 app built in XCode using a native target. His problem is that the app expects a display environment variable to provide the xserver host name. When running the app via a shell he can put this variable in his .profile and all's well. But as the target process is owned directly by XCode and there's no intervening shell this doesn't work when debugging.

What's the best approach to capture environment variables for use when running under XCode within the project? (He would like that since it then is under version control and other developers will get the setting as part of getting the project and not need non-version-controlled magic data in order to build and debug.) I would have thought that just adding them to the target or build style would export them out but it doesn't seem to.

I have little experience with X11 (and as I'm buried in a non-native driver target in my work I have little experience with native targets), so if this makes no sense or if he/we are missing something basic please be kind! ;-)

Thanks,
Mike
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Env differences between debug and non-debug
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Can I link in CW macho libs?
  • Next by Date: Re: Xcode Yawn
  • Previous by thread: Re: XCode 'can't find' sources
  • Next by thread: Re: Env differences between debug and non-debug
  • Index(es):
    • Date
    • Thread