Re: -Bstatic flag



seema wrote:
Hi all,

Can some body explain why -Bstatic flag is used on Solaris. I think
this flag is not supported in sunstudio 11 compiler. when I pass
compilation row,
cc -Bstatic x.c
I got the following error,

d: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to a.out

comp.unix.solaris or one of the Studio forums would be a better place
for this.

--
Ian Collins.
.



Relevant Pages

  • -Bstatic flag
    ... Can some body explain why -Bstatic flag is used on Solaris. ... this flag is not supported in sunstudio 11 compiler. ... ld: fatal: File processing errors. ...
    (comp.lang.c)
  • Re: -Bstatic flag
    ... this flag is not supported in sunstudio 11 compiler. ... Keith Thompson kst-u@xxxxxxx ...
    (comp.lang.c)
  • Re: About volatile qualifier
    ... In an article about volatile qualifier there is a small code by which the ... void Wakeup{flag = true;} ... compiler optimizes access to that variable by caching it in a register. ... Thread-1 will never get the actual value of the flag and loop forever." ...
    (microsoft.public.vc.language)
  • Re: thread synchronization of flag
    ... a flag until this flag changed from one, ... from using a certain kind of low-level synchronization ... or fetchAndAdd() operations imply at least some synchronization), ... There are, of course, severe implications on the compiler anyway. ...
    (comp.programming.threads)
  • Segmentation Fault
    ... subroutine, reporting a segmentation fault as it does so. ... If I compile the code with the Portland Group compiler with the -g flag ... crashes soon after entering a subroutine. ...
    (comp.lang.fortran)