[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: checking if CC supports weak symbols
From: |
Raja R Harinath |
Subject: |
Re: checking if CC supports weak symbols |
Date: |
Fri, 24 Jan 2003 11:34:41 -0600 |
User-agent: |
Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (i686-pc-linux-gnu) |
Hi,
Andreas Schwab <address@hidden> writes:
> Raja R Harinath <address@hidden> writes:
[snip]
> |> * The Intel C compiler for Linux is supposed to be able to compile
> |> the Linux kernel. New versions the Linux kernel do use weak
> |> symbols (possibly with this syntax) -- so maybe the Intel
> |> compiler would too.
> |>
> |> The second is somewhat far-fetched. Support for #pragma weak ... and
> |> _Pragma("weak", ...) is likelier.
>
> The Linux kernel source already uses __attribute__ in other contexts, so
> icc needs to grok the syntax anyway.
Yep. But, the Linux kernel started using attribute ((weak, ...))
only recently. So, icc may not do anything useful there.
- Hari
--
Raja R Harinath ------------------------------ address@hidden