Package open-cobol not working for me

Eric Gallager egall at gwmail.gwu.edu
Wed Jun 4 09:38:33 PDT 2014


Maybe I'll install clang 3.4 and 3.5 once I have some spare cycles; my
computer just finished rebuilding llvm 3.3 and gcc 4.7 and 4.8 due to the
recent updates, and those all took a long time on their own... Anyways,
doing the latter of the things you suggested, I seem to have managed to
remove the flag from cobc-config, so I will attach a patch once I am done...



On Wed, Jun 4, 2014 at 2:44 AM, Ryan Schmidt <ryandesign at macports.org>
wrote:

>
> On Jun 3, 2014, at 8:24 PM, Eric Gallager wrote:
>
> > open-cobol is actually a source-to-source compiler (or "transpiler")
> that compiles to C code, and then uses the host C compiler to compile the
> generated C code, which means that something that looks like an open-cobol
> error might actually be an error with your host compiler. By the error
> message, it looks like OP is using the clang that comes with
> Mavericks/Xcode 5, which has gotten overly strict about what it accepts
> recently, and which I do not use anyways (because I am still on Snow
> Leopard), so I will not be able to reproduce your error (my
> /opt/local/bin/cobc successfully compiles the example source file into a
> runnable executable on my machine).
>
> You might be able to reproduce the problem on Snow Leopard if you rebuild
> open-cobol with configure.compiler=macports-clang-3.5 (or -3.4). Even
> without doing so, you can confirm that the file /opt/local/bin/cob-config
> installed by open-cobol contain the -R argument, which as I understand it
> is never used on OS X.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140604/bbacf5ac/attachment.html>


More information about the macports-users mailing list