Hi,

And more info about Evc4 than could help in tunning better compilation and
linking proccess: attached output from clarm /? which shows all available
options for this compiler.

Regards,
José Luis Capel
                         C/C++ COMPILER OPTIONS

                             -OPTIMIZATION-

/O1 minimize space                       /Oi[-] enable intrinsic functions
/O2 maximize speed                       /Op[-] improve floating-pt consistency
/Oa assume no aliasing                   /Os favor code space
/Ob<n> inline expansion (default n=0)    /Ot favor code speed
/Od disable optimizations (default)      /Ow assume cross-function aliasing
/Og enable global optimization           /Ox maximum opts. (/Ogitb1)

                            -CODE GENERATION-

/QRarch4 ARM4 Architecture               /Gf enable string pooling
/QRarch5 ARM5 Architecture               /GF enable read-only string pooling
/QRarch4T ARM4T Architecture             /Gy separate functions for linker
/QRarch5T ARM5T Architecture             /GR[-] enable C++ RTTI
/QRinterwork-return ARM<-->Thumb calls   /GX[-] enable C++ EH (same as /EHsc)
/QRfpe use floating point emulation      /EHs enable synchronous C++ EH
/QRdsp enable ARM5E DSP instructions     /EHa enable asynchronous C++ EH
/QRxscale optimize for XScale            /EHc extern "C" defaults to nothrow
/QRxscalesched XScale scheduling         /QRimplicit-import- No implicit DLL 
imports

                             -OUTPUT FILES-

/Fa[file] name assembly listing file     /Fo<file> name object file
/FA[sc] configure assembly listing       /Fp<file> name precompiled header file
/Fd[file] name .PDB file                 /Fr[file] name source browser file
/Fe<file> name executable file           /FR[file] name extended .SBR file
/Fm[file] name map file

                             -PREPROCESSOR-

/C don't strip comments                  /FI<file> name forced include file
/D<name>{=|#}<text> define macro         /U<name> remove predefined macro
/E preprocess to stdout                  /u remove all predefined macros
/EP preprocess to stdout, no #line       /I<dir> add to include search path
/P preprocess to file                    /X ignore "standard places"

                               -LANGUAGE-

/Zi enable debugging information         /Zl omit default library name in .OBJ
/Z7 enable old-style debug info          /Zg generate function prototypes
/Zd line number debugging info only      /Zs syntax check only
/Zp[n] pack structs on n-byte boundary   /vd{0|1} disable/enable vtordisp
/Za disable extensions (implies /Op)     /vm<x> type of pointers to members
/Ze enable extensions (default)          /noBool[-] disable "bool" keyword

                             -MISCELLANEOUS-

/?, /help print this help message        /V<string> set version string
/c compile only, no link                 /w disable all warnings
/H<num> max external name length         /W<n> set warning level (default n=1)
/J default char type is unsigned         /WX treat warnings as errors
/nologo suppress copyright message       /Yc[file] create .PCH file
/Tc<source file> compile file as .c      /Yd put debug info in every .OBJ
/Tp<source file> compile file as .cpp    /Yu[file] use .PCH file
/TC compile all files as .c              /YX[file] automatic .PCH
/TP compile all files as .cpp            /Zm<n> max memory alloc (% of default)

                                -LINKING-

/MC link with COREDLL.LIB, CORELIBC.LIB  /LDd Create .DLL debug libary
/ML link with COREDLL.LIB, LIBC.LIB      /F<num> set stack size
/LD Create .DLL                          /link [linker options and libraries]

                     -NOT SUPPORTED IN THIS RELEASE-

/Gd __cdecl calling convention           /Gi[-] enable incremental compilation
/Gr __fastcall calling convention        /Gm[-] enable minimal rebuild
/Gz __stdcall calling convention         /ZI enable Edit & Continue debug info
/GA optimize for Windows Application     /MD link with MSVCRT.LIB
/GD optimize for Windows DLL             /MT link with LIBCMT.LIB
/GZ enable runtime debug checks          /MDd link with MSVCRTD.LIB debug lib
/Ge force stack checking for all funcs   /MLd link with LIBCD.LIB debug lib
/Gs[num] disable stack checking calls    /MTd link with LIBCMTD.LIB debug lib
/Gh enable hook function call            /QRfpe- enable hardware floating point
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to