bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LD linker stubs?


From: Jeff Bailey
Subject: LD linker stubs?
Date: Mon, 21 May 2001 23:38:39 -0700
User-agent: Mutt/1.2.5i

I found the code in libc for creating "link_warning" constructs.  Is
there a similar construct that emulates #error in the same way?  I'm
going to hack together an initial pthreads library that will allow us
to begin porting the Hurd, but I want to make sure that any other
functions that are defined in the Header file will refuse to link if
the appropriate function is linked in.

The idea is that I want to slowly implement the functions, and make
sure that the user compiling the software is *very* aware when an
expected function is going to fail. (And hopefully force them to use
--without-threads or something)

It's late, so if this doesn't make sense, I'll resend in the morning. =)

Tks,
Jeff Bailey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]