Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #563

Re: combining c-code files into one c-code file

From Harald Gustafsson <harald.gustafsson@gmail.com>
Newsgroups comp.compilers
Subject Re: combining c-code files into one c-code file
Date 2012-04-18 02:01 -0700
Organization Compilers Central
Message-ID <12-04-020@comp.compilers> (permalink)
References <12-04-005@comp.compilers>

Show all headers | View raw


Just wanted to inform you that I got another off-list tip based on my question
on this list to use CIL from Berkley.
http://sourceforge.net/projects/cil/

It has a merge function that works great, just redefining CC, LD and AR in
makefile. I also managed with the CIL-lists help to make a visitor to make all
global declarations static which I needed for Renderscript. So far I have
managed to merge the libc string operations and a malloc implementation, as
well as making libx264 compile inside renderscript (have not had a chance to
test it yet).

Thanks,
Harald

Back to comp.compilers | Previous | NextPrevious in thread | Find similar


Thread

combining c-code files into one c-code file Harald Gustafsson <harald.gustafsson@gmail.com> - 2012-04-03 06:23 -0700
  Re: combining c-code files into one c-code file Cameron McInally <cameron.mcinally@nyu.edu> - 2012-04-04 12:02 -0400
  Re: combining c-code files into one c-code file Harald Gustafsson <harald.gustafsson@gmail.com> - 2012-04-04 19:35 +0200
  Re: combining c-code files into one c-code file Gene <gene.ressler@gmail.com> - 2012-04-09 05:40 -0700
  Re: combining c-code files into one c-code file Harald Gustafsson <harald.gustafsson@gmail.com> - 2012-04-18 02:01 -0700

csiph-web