[OSUNIX-dev] Re: [hpcdev-discuss] Porting open64 to solaris
"C. Bergström"
cbergstrom at netsyncro.com
Wed Jan 28 08:39:39 GMT 2009
John Martin wrote:
> Joerg Schilling wrote:
>> John Martin <John.M.Martin at Sun.COM> wrote:
>>
>>
>>> This biggest headache I had doing the port was asprintf()/vasprintf().
>>> There was a lot of code that used these functions. Once we have
>>> this with b107,
>>> it will make things a lot easier.
>>>
>>
>> With the private format() based printf() implementation I have in
>> libschily,
>> an implementation of the a*print*() functions is simple and can be
>> done in 10 minutes.
>>
>>
> I wrote my own also, but that was the trivial part of the work.
> It was the header and library issues, changing the build environment
> in a way that wouldn't break other platforms and would allow
> the official versions of asprintf()/vasprintf() to be used once they
> were delivered.
Jörg,
Thanks a lot for letting me know this.. I'm not sure it's something we
can send upstream, but maybe the open64 guys can make a suggestion? I'd
much rather link/use maintained code instead of the roll-your-own
approach for every missing function.. Almost as soon as snv_107 was
tagged we started the port. It's been a TODO item for a while and I
actually have license compatible implementations of
asprintf()/vasprintf()wasprintf()/wvasprintf() functions.. not to
mention they were in libast iirc.. Anyway.. like I said in the other
email.. I have to get a new build log so we can hunt for errors and then
I'll ask very specific things.
Cheers,
./C
More information about the OSUNIX-dev
mailing list