[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnucap-devel] CMake WIP
From: |
Kevin Zheng |
Subject: |
Re: [Gnucap-devel] CMake WIP |
Date: |
Sat, 27 Jul 2013 13:23:18 +0800 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130628 Thunderbird/17.0.7 |
On 07/27/2013 12:45, al davis wrote:
> First build "lib", a library.
That one was pretty obvious; already have it built.
> Then build "modelgen", (gnucap-modelgen) an executable, which
> uses the library in "lib".
>
> Then build "main", an executable, the main program, which also
> uses "lib".
Are both of these passed the same linker flags (-rdynamic)? Should
readline and termcap be passed to both as well?
> Then build "apps", a library. The ".cc" files are plugins,
> mostly each one independent, but here they are combined for
> convenience. The ".model" files are also plugins, they use
> "modelgen" to convert to .cc files. It is important to use the
> modelgen and lib that you just built, not one that might be
> installed.
Okay, so first we take .model -> .cc, then compile all of the sources
into one big library?
Thanks,
Kevin Zheng