Mercurial > mxe-octave
view src/libarchive-test.c @ 3289:b28756fd131c
* src/build-msvctools/cc-msvc.cc: Allow to preprocess-only.
Make sure to run the compiler, and not the linker, when doing only
pre-processing. Required to compile libgpg_error, which pre-processes
a header file.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 07 Nov 2013 13:15:25 -0500 |
parents | 99516e73b368 |
children |
line wrap: on
line source
/* * This file is part of MXE. * See index.html for further information. */ #include <archive.h> int main(int argc, char *argv[]) { struct archive *tgz; (void)argc; (void)argv; tgz = archive_write_new(); archive_write_set_compression_gzip(tgz); archive_write_set_format_ustar(tgz); archive_write_finish(tgz); return 0; }