Please help with __attribute__ weak

2005-07-26 Thread Dimitry Golubovsky
is resolved, calling the __f_write_weak_alias just prints Abort i. e. the symbol write was not overridden by the library definition. What is the right way to do this? Thanks for any advice. Dimitry Golubovsky Middletown, CT

Re: Please help with __attribute__ weak

2005-07-26 Thread Dimitry Golubovsky
Dimitry Golubovsky wrote: I need to declare a symbol which is weaker in the executable than in any external static or dynamic library. In other words, the executable provides some fallback function implementation (in my example, for write). But if the linker or dynamic linker resolves

Offset and Bit Mask for Bit Fields?

2005-07-11 Thread Dimitry Golubovsky
there exist any means in gcc to measure offsets (of enclosing integer field) and bit mask for bit fields? If not, any chance to add them in the future? -- Dimitry Golubovsky Anywhere on the Web

Re: gcc for syntax check only (C): need to read source from stdin

2005-04-12 Thread Dimitry Golubovsky
the preprocessor, nothing else. i. e. gcc still does not want to do anything beyond preprocessing using stdin as input. On 4/12/05, Devang Patel [EMAIL PROTECTED] wrote: Try -fsyntax-only -- Dimitry Golubovsky Anywhere on the Web

Re: gcc for syntax check only (C): need to read source from stdin

2005-04-12 Thread Dimitry Golubovsky
it lets you do that without the -x c. zw -- Dimitry Golubovsky Anywhere on the Web