curl-library
RE: Help on usinig Curl on vxwrks
Date: Mon, 25 May 2009 18:01:28 +0300
> I would suggest you instead call it config-vxworks.h to follow the
tradition, and then you adjust lib/setup.h to include that file
depending on a suitable vxworks pre-define. What is a suitable define to
check for? I couldn't find any definite answer "out there".
I didn't prepare patch, since I have only one half of VxWorks
compilation solution: I have a config.h and I have no automatic
generation of makefiles. I used my make files, and they are split into
several files and have a lot of not needed for libcurl stuff. So fill
free to take the attached config.h if you don't need the missing half of
solution.
fd = open(real_path, O_RDONLY,
conn->data->set.new_file_perms);
> Permissions required for open()ing a read-only file? What on earth
does that mean? And even so, I would suggest an #ifdef there so that we
can get the change back into the mainline.
I failed to find the 2-parameters open() in VxWorks headers.
> Of course, this assumes you want to work with me to get the changes
incorporated into libcurl.
I afraid of even looking into the Configure script, not talking about
modifying it. Therefore I would prefer not to deal with patch that will
be acceptable by you :) (in other words - patch that provides user with
complete solution of configuration and compilation for VxWroks). But I'm
ready to provide any piece of information that I have regarding the way
I got the libcurl working on VxWorks 6.3.
Received on 2009-05-25