1843291 Members
4874 Online
110214 Solutions
New Discussion

vswprintf

 
Andrei Tarassov
New Member

vswprintf

I am writing software that should be running on HP-UX versions 11.00 and 11i. There will be one set of binaries and I need to use the vswprintf() function. Unfortunately, it is not available on HP-UX 11.00. Neither are available other wprintf() family functions.

Is there any workaround for this problem? Are there any free implementations of these functions or is it anyhow possible to take the implementation from HP-UX 11i and distribute it along with our software so that it could also work on HP-UX 11.00?

Thanks in advance!
2 REPLIES 2
Steve Steel
Honored Contributor

Re: vswprintf

Hi


I cannot find any free implementations I would trust and no you cannot make 11.11
software and expect it to run on an 11.00 box

Each compiler is a subset of the enxt one so upwards comaptibility while a grey zone is logical and generally works

Downwards compatibility is a bad idea,it is not HP supported , I asked and the chance of errors is large


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Andrei Tarassov
New Member

Re: vswprintf

Is it possible to do something like that:

On HP-UX 11i:
ar x libc.a vswprintf.o
# send the extracted object to HP-UX 11.00

On HP-UX 11.00:
Link with vswprintf.o from HP-UX 11i

I guess that could be impossible or, at least, illegal. Is it so?