discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: Debug libs


From: Adam Fedor
Subject: Re: Re[2]: Debug libs
Date: Fri, 4 Jun 2004 16:16:53 -0600


On Jun 4, 2004, at 11:38 AM, Manuel Guesdon wrote:
For non debug: speed and size (I don't know the exact exact impact factor)
For debug: debug informations/verifications.



We don't really need to change that. We can still have a debug=yes flag, which would add debugging info and turn on any other flags we want. The only change is that the library name would stay the same regardless of debug=yes or debug=no. Then you can freely mix libraries, frameworks, etc with debugging info and without, without breaking anything.

The other alternative (at least one I had thought of), is to make sure framework libs and bundles executables with debug=yes had different names, but they would be stored in the same location (MyBundle.bundle/MyBundle and MyBundle.bundle/MyBundle_d for instance). In once case, make would be responsible for finding the correct framework lib and in the second, NSBundle would be responsible for loading the correct bundle executable (or raising an exception if it could not). That's more complication, though.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]