This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A Linux/libc 5 patch for egcs 1.1.2
- To: hjl at lucon dot org
- Subject: Re: A Linux/libc 5 patch for egcs 1.1.2
- From: jlarmour at cygnus dot co dot uk (Jonathan Larmour)
- Date: Thu, 25 Feb 1999 21:44:48 GMT
- Cc: law at cygnus dot com, egcs at egcs dot cygnus dot com, egcspathces at lucon dot org
- Newsgroups: cygnus.egcs
- Organization: Cygnus Solutions Ltd, UK
- References: <18993.919932064@hurl.cygnus.com>
In article <m10G7KR-000390C.cygnus.egcs@ocean.lucon.org> you write:
>
>Here is a libio patch for libc 5 using __attribute__ instead of pragma.
>It is totally untested since I no longer have libc 5 machine. Someone
>should check if it compiles and runs on libc 5.
[snip]
>+void _cleanup () __attribute__ ((weak, "_IO_cleanup"));
[snip]
This isn't the correct syntax shurely? Don't you mean:
void _cleanup () __attribute__ ((weak, alias("_IO_cleanup")));
Assuming I'm right, if egcs doesn't complain about the format syntax, it
should.
Jifl
--
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762
"Women marry hoping their husbands will change, men||Home e-mail: jifl @
marry hoping their wives never do. Both are rare." || jifvik.demon.co.uk
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault