If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-08-28
-D defines a macro on the command line - like using #define in the code; the meaning of such a macro depends entirely on how it is used in the code and header files. For the rest read the manuals!
Hi all,
I'm not familiar with the available compiler and linker options for devC++ so i was wondering if someone could tell me what these mean:
COMPILER OPTIONS:
-DORTP_EXPORTS
-DBUILDING_DLL=1
-DORTP_DLL
-DORTP_INET6
-D_WORKAROUND_MINGW32_BUGS -Wall -Werror
-D_WIN32_WINNT=0x0501
LINKER OPTIONS:
--no-export-all-symbols --add-stdcall-alias
--def ortp.def
-lws2_32 -lwinmm
i understand only the last linker option which is to include the ws2_32 and winmm library.
thank you,
Greg
thanks clifford much appreciated!
-D defines a macro on the command line - like using #define in the code; the meaning of such a macro depends entirely on how it is used in the code and header files. For the rest read the manuals!
http://gcc.gnu.org/onlinedocs/ (compiler)
http://www.gnu.org/software/binutils/manual/ld-2.9.1/ld.html (linker)
Clifford