Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

5.10.5 Objective C Compiler Characteristics

— Macro: AC_PROG_OBJC ([compiler-search-list])

Determine an Objective C compiler to use. If OBJC is not already set in the environment, check for Objective C compilers. Set output variable OBJC to the name of the compiler found.

This macro may, however, be invoked with an optional first argument which, if specified, must be a blank-separated list of Objective C compilers to search for. This just gives the user an opportunity to specify an alternative search list for the Objective C compiler. For example, if you didn't like the default order, then you could invoke AC_PROG_OBJC like this:

          AC_PROG_OBJC([gcc objcc objc])
     

If using the GNU Objective C compiler, set shell variable GOBJC to ‘yes’. If output variable OBJCFLAGS was not already set, set it to -g -O2 for the GNU Objective C compiler (-O2 on systems where gcc does not accept -g), or -g for other compilers.

— Macro: AC_PROG_OBJCCPP

Set output variable OBJCCPP to a command that runs the Objective C preprocessor. If ‘$OBJC -E’ doesn't work, /lib/cpp is used.


 
 
  Published under the terms of the GNU General Public License Design by Interspire