The -M is more than likely a flag to the loader on your solaris platform
not the compiler. See   'man ld' or 'info ld'  on your linux box and man ld
on your solaris box and see if there is a correllary between the two loaders
for this operation.

>
>  Hi Eric,
>
>       Have you taken a look at the Solaris to RedHat Porting guide at:
>
>       http://www.redhat.com/docs/wp/solaris_port/x99.html
>
>       This will help ! Again if you were using Solaris
>  SparcWorks software
>  such as Forte that would be the comparison chart. Also look
>  at the Intel
>  C/C++ compiler for Linux its got a 30% faster running time and
>  optimizations for the Intel chips. HTH
>
>       Cheers,
>
>       Aly.
>
>  [EMAIL PROTECTED] wrote:
>  > Hello?
>  > I've posted the following problem 2 times to the read hat
>  list and have yet to see it appear in the summaries I
>  receive. I posted the last one this morning (Wednesday) and
>  have since received another summary without my message. What gives?
>  >
>  > The problem I'm having:
>  >
>  > I'm working on a Solaris to Linux port, using Red Hat
>  release 2.4. I'm building a shared object (libstuff.so) that is
>  > shipped as part of an API for Reuters's data feed product.
>  The library contains a number of symbols that need
>  > to be hidden from the user. It seems that g++ exports all
>  of these and makes them available to outside users -
>  > something that cannot be allowed. Under Solaris, one may
>  create a map file that restricts access by using the
>  > -M option. So what is the Linux/g++ counterpart?
>  >
>  > Eric Graubins
>  > Reuters
>  >
>  >
>  >
>  > -----------------------------------------------------------------
>  >         Visit our Internet site at http://www.reuters.com
>  >
>  > Get closer to the financial markets with Reuters Messaging
>  - for more
>  > information and to register, visit http://www.reuters.com/messaging
>  >
>  > Any views expressed in this message are those of  the  individual
>  > sender,  except  where  the sender specifically states them to be
>  > the views of Reuters Ltd.
>  >
>  >
>
>  --
>  Aly S.P Dharshi
>  [EMAIL PROTECTED]
>  Student System Administrator/Network Analyst LDAP Project
>  Department of Computer Science and Mathematics
>  University of Lethbridge
>
>    "A good speech is like a good dress
>    that's short enough to be interesting
>    and long enough to cover the subject"
>
>
>
>
>  --
>  redhat-list mailing list
>  unsubscribe mailto:[EMAIL PROTECTED]
>  https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to