When I use:
gcc -o filename filename.h -I /c/gnustep/gnustep/system/library/
headers -L /c/gnustep/gnustep/system/library/libraries
to compile the file I receive the following errors:
undefined reference to ___objc_class_name_NSObject
undefined reference to ___objc_exec_class
1- Could you kindly tell me how I can tackle this problem
2- How can I set any environmental variables so that I can avoid
typing
-I /c/gnustep/gnustep/system/library/headers -L /c/gnustep/
gnustep/system/library/libraries
every time.
The easiest way to start is to use gnustep-make to compile and link
your tool for you. Check
http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/index.html
for a tutorial on writing GNUmakefiles and using gnustep-make.
Thanks
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep