[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] org-babel C math.h issue

From: Thierry Banel
Subject: Re: [O] [PATCH] org-babel C math.h issue
Date: Sun, 20 Mar 2016 15:03:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Attached is Oz's patch adding optional :libs support to Babel C++
Thanks Oz.

Le 11/03/2016 20:14, Oz Ben-Ami a écrit :
> Thanks for the response.
> On my machine, I get the undefined references even with GCC 5 (gcc
> version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)), if I put -lm before
> the source file name.
> As far as a patch, I can try but this would be my first time really
> playing with org-mode code. As far as I can see, I would need to add
> the following lines in ob-C.el:
> L133: (libs (cdr (assoc :libs params)))
>          (libs (mapconcat 'identity
>                (if (listp libs) libs (list libs)) " "))
> L142: (format "%s -o %s %s %s %s" ;; (added %s)
> L147: libs
> Am I missing anything?
> Oz

Attachment: 0001-Add-libs-to-babel-C.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]