This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Can't get ASSERT() to work in ld script.


On Wed, Feb 14, 2001 at 03:31:39PM -0800, Ian Lance Taylor wrote:
> Grant Edwards <grante@visi.com> writes:

> Something like this works for me:
> 
> . = ASSERT ( 0, error );

Thanks!

> It always helps to give an example of what doesn't work.

I was trying various versions of ASSERT as a stand-alone
command:

ASSERT(0,"error");



-- 
Grant Edwards
grante@visi.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]