问题描述
根据我从提供了适用于Linux和Windows的二进制文件,但没有适用于OSX的文件。 Lazy C ++源代码还有一个下载链接,但是它需要一个lzz二进制文件作为构建过程的一部分。这会创建一个情况,我需要一个lzz二进制,以获得lzz二进制。
Based on feedback I got from this question, I'm interested in using Lazy C++ on my OSX laptop. The Lazy C++ webpage has binaries for Linux and Windows available, but nothing for OSX. There's also a link to download for the Lazy C++ source, but it requires a lzz binary as part of the build process. This creates a situation where I need an lzz binary in order to get an lzz binary.
如何在没有lzz二进制文件的笔记本电脑上创建lzz?我需要在Linux或Windows机器上执行构建的一部分来预处理lzz源文件,然后将源代码传输到我的笔记本电脑上进行构建?还是有其他的东西,我应该尝试?
How can I build lzz on my laptop without an lzz binary? Do I need to do part of the build on a Linux or Windows machine to preprocess the lzz source files, and then transfer the source over to my laptop for building? Or is there something else that I should try?
推荐答案
由于Lazy C ++似乎是一种预处理器 - 生成源文件作为输出 -
Given that Lazy C++ appears to be a sort of a preprocessor - generating source files as output - you could probably compile it to completion on a supported platform like Windows, take all the generated files and compile it from these generated files again on OSX.
根据构建系统的复杂程度(Makefile,in。),在Windows XP等支持的平台上完成所有生成的文件并在OSX上从这些生成的文件中进行编译。这个例子)的Lazy C ++是 - 这将是微不足道,非常复杂或任何地方之间...
Depending on how complex the build system (Makefiles, in this case) of Lazy C++ is - this is going to be trivial, very complicated or anywhere in between...
这篇关于Lazy C ++ - 鸡和蛋问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!