optimization

i cant compile on cc with -fast option, this option is expanded and include some more options, does anybody now how to compile with -fast option or expanded options of -fast?
[181 byte] By [sumer666] at [2007-11-26 8:22:49]
# 1

The C Users guide says that programs compiled with '-fast' must be linked with '-fast'

-fast means:

-dalign

-fns

-fsimple=2

-ftrap=%none

-nofstore

-xarch

-xbuiltin=%all

-xlibmil

-xtarget=native

-x05

Not using some of these flags at link time will either cause core

dumping or incorrect results.

never to use -fast. -fast is merely a

macro which expands to real options. Any sensible application should pick

the options (perhaps based on -fast as a basis, but not accept that

it can change at any time, without notice ...

-fast exists for easy benchmarking ... essentially what's the best

first guess at what will give fast performance on this particular

machine. It's not a good idea for a serirous application, they ought to spend a little time ... at least enough to tickle the compiler to get the

-fast expansion ... look at anything interesting and different from

the last time they looked and use the expansion directly themselves.

That way, -fast won't change out from under them in surprising ways

at a later date

-Ngoc

NgocNguyen at 2007-7-6 21:31:28 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
can you tell me, what need to write in CCNOOPT and CCFLAGS whe i use the expand options of -fast, may be need an a sequence of this options? may be you have an examples...?
sumer666 at 2007-7-6 21:31:28 > top of Java-index,Development Tools,Solaris and Linux Development Tools...