weak and alias

Terje Eggestad terje.eggestad@scali.com
Tue Mar 11 08:33:00 GMT 2003


In gcc 2.X the pragma 

#pragma weak aliasname = realname
worked both for functions, and variables. 

In gcc 3.2.x the pragma no longer seem to work, and you can't alias a
variable with __attribute__. 
Is there anyway to re-enable the old pragma functionality?

Terje


-- 
_________________________________________________________________________

Terje Eggestad                  mailto:terje.eggestad@scali.no
Scali Scalable Linux Systems    http://www.scali.com

Olaf Helsets Vei 6              tel:    +47 22 62 89 61 (OFFICE)
P.O.Box 150, Oppsal                     +47 975 31 574  (MOBILE)
N-0619 Oslo                     fax:    +47 22 62 89 51
NORWAY            
_________________________________________________________________________



More information about the Gcc-help mailing list