This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: asprintf
Sorry, my mistake. I got a hold of the wrong end of the stick. I was
in fact linking against an old library that had asprintf, but no
vasprintf. Thanks for the explanation of EL/IX.
Incidentally, I'm looking at these functions that are somewhat
atypical for an embedded system because I'm looking at compiling
busybox with newlib. With a healthy does of ifdefs, I've managed to
compile it. I'm gonna cross my fingers and hope for a shell prompt
now.
Cheers,
Shaun
> No. You need to understand what is happening. If you don't configure a
> specific EL/IX level, everything gets built (i.e. EL/IX level is not defined to
> be level 1, 2, 3, etc..). If you specifically configure with EL/IX level 1,
> then the EL/IX level will be set to 1 and asprintf will not be included as per
> the EL/IX standard. If you specify EL/IX level 2 or above, then you get
> asprintf, again per the standard.
>
> -- Jeff J.