This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: mkstemp() support on target


mike stump <mrs@windriver.com> writes:

>> Does an autoconf test already exist in GCC which tests whether the
>> target machine supports mkstemp() or not?
>
> Can you run grep mkstemp libiberty/*?  That might answer your question.

Is -liberty linked with all target executables?  I don't think so.  In
addition, -liberty's mkstemps() is not thread safe.  It's probably
best when I copy the routine from -liberty and tweak it a bit.

> If you want to know if it is availible for use on the target, can't
> you just nm libiberty and be done with it?

Is -liberty build for the target?  I thought it's only used by the
compiler itself (that's why it's build on the host only).


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