# Build curl with VxWorks SDK

**URL:** <https://forums.windriver.com/t/build-curl-with-vxworks-sdk/75>\
**Category:** VxWorks SDK\
**Created:** [February 7, 2022, 3:49pm UTC](https://forums.windriver.com/t/build-curl-with-vxworks-sdk/75 "2022-02-07T15:49:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob.woolley](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.windriver.com/rob.woolley/32/18_2.png) [@rob.woolley](https://forums.windriver.com/u/rob.woolley)\
**Post date:** [February 7, 2022, 3:49pm UTC](https://forums.windriver.com/t/build-curl-with-vxworks-sdk/75/1 "2022-02-07T15:49:07Z")

</div>

Support for VxWorks in curl was added by the community in 2009. This code hadn’t been updated in a while so it was removed as part of routine maintenance work: [https://github.com/curl/curl/pull/8362](https://github.com/curl/curl/pull/8362)

Here are the instructions for building the latest curl from git using the VxWorks SDK:

**Create a new project directory**  
mkdir $HOME/curltest  
cd $HOME/curltest

**Source the SDK environment**  
source /opt/wrsdk/wrsdk-vxworks7-qemu/toolkit/wind\_sdk\_env.linux

**Clone the git repository**  
git clone [https://github.com/curl/curl.git](https://github.com/curl/curl.git)

**Change directories**  
cd curl

**Create the configure script**  
autoreconf -fi

**Configure the Makefile for cross-building for VxWorks with the SDK**  
ac\_cv\_header\_termios\_h=no ./configure --build=x86\_64-pc-linux-gnu --host=x86\_64-wrs-vxworks --disable-ntlm-wb --with-openssl

**Build curl**  
make

**Export the libraries, executables, and headers into a directory**  
mkdir $TMPDIR/vxworks  
DESTDIR=$TMPDIR/vxworks make install
