> Am 02.05.2018 um 15:30 schrieb Andreas Höschler <ahoe...@smartsoft.de>:
> 
> Hi Wolfgang,
> 
>>> I have Window Maker running now and Fred resize.app but still wasn't able 
>>> to get one of my own apps to work that need to be linked against my 
>>> frameworks. The test app links against gui and base but not any of the 
>>> listed frameworks SRFoundation, SREnterprise,...
>> 
>> That very much sounds like the code of your test app does not use any code 
>> from these frameworks.
>> Keep in mind that libraries linked with -l options are used only to resolve 
>> unresolved symbols in the code. If a library does not provide any such 
>> symbols it is ignored and will not be included in the final executable.
> 
> That's not the case. The code is used. When executing the resulting binary I 
> get tons of "... does not recognize selector ..." exceptions!? :-(

Selectors do not count here. They are only resolved at runtime not a link time.
You would need an explicit reference to a class, function or global variable 
from your frameworks inside the code of the test application to have the linker 
include those libraries in the executable.

Wolfgang


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to