From: Gurucharan Shetty Date: Sun, 17 Nov 2013 02:36:38 +0000 (-0800) Subject: cccl: A wrapper that calls visual c++ compiler. X-Git-Tag: v2.1.0~259 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=c9b94429894d34fc84bd0db4f9805b5e59f7e454 cccl: A wrapper that calls visual c++ compiler. One option to compile Open vSwitch code in windows is to use Visual c++ compiler. From http://cccl.sourceforge.net/ : "cccl is a wrapper around Microsoft Visual C++'s cl.exe and link.exe. It converts Unix compiler parameters into parameters understood by cl and link. cccl's main use is for using Unix build processes with Microsoft compilers. Using cccl in conjunction with ports of Unix utilities, it is possible to build many Unix packages using MSVC, without modifying the build process." There are couple of forks of the project in the internet. This particular piece is copied from: https://gitorious.org/swift/swift/source/\ cf9b391b40a9c59a620c8093d438370381949c60:autoconf/cccl Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- diff --git a/AUTHORS b/AUTHORS index 1b508afab..76951e7eb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -40,6 +40,7 @@ Ethan Jackson ethan@nicira.com Flavio Leitner fbl@redhat.com FUJITA Tomonori fujita.tomonori@lab.ntt.co.jp Gaetano Catalli gaetano.catalli@gmail.com +Geoffrey Wossum gwossum@acm.org Giuseppe Lettieri g.lettieri@iet.unipi.it Glen Gibb grg@stanford.edu Guolin Yang gyang@nicira.com @@ -83,6 +84,7 @@ Pravin B Shelar pshelar@nicira.com Raju Subramanian rsubramanian@nicira.com Ravi Kerur Ravi.Kerur@telekom.com Reid Price reid@nicira.com +Remko Tronçon git@el-tramo.be Rich Lane rlane@bigswitch.com Rob Hoes rob.hoes@citrix.com Romain Lenglet romain.lenglet@berabera.info @@ -106,6 +108,7 @@ Tyler Coumbes coumbes@gmail.com Valient Gough vgough@pobox.com Vivien Bernet-Rollande vbr@soprive.net Wei Yongjun yjwei@cn.fujitsu.com +William Fulton Yasuhito Takamiya yasuhito@gmail.com Yu Zhiguo yuzg@cn.fujitsu.com ZhengLingyun konghuarukhr@163.com diff --git a/COPYING b/COPYING index 22c9341b8..6b28b0e75 100644 --- a/COPYING +++ b/COPYING @@ -19,6 +19,9 @@ Most files are licensed under the Apache License, Version 2.0: Files under the datapath directory are licensed under the GNU General Public License, version 2. +File build-aux/cccl is licensed under the GNU General Public +License, version 2. + Files under the xenserver directory are licensed on a file-by-file basis. Refer to each file for details. diff --git a/Makefile.am b/Makefile.am index f2d129459..3d2165f9f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,6 +70,7 @@ EXTRA_DIST = \ SubmittingPatches \ WHY-OVS \ boot.sh \ + build-aux/cccl \ build-aux/sodepends.pl \ build-aux/soexpand.pl \ $(MAN_FRAGMENTS) \ diff --git a/build-aux/cccl b/build-aux/cccl new file mode 100644 index 000000000..a00b7f88e --- /dev/null +++ b/build-aux/cccl @@ -0,0 +1,201 @@ +#!/bin/sh + +# cccl +# Wrapper around MS's cl.exe and link.exe to make them act more like +# Unix cc and ld +# +# Copyright (C) 2000-2003 Geoffrey Wossum (gwossum@acm.org) +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +usage() +{ + cat <