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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!nx02.iad01.newshosting.com!newshosting.com!novia!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!nerds-end
From Harald Gustafsson <harald.gustafsson@gmail.com>
Newsgroups comp.compilers
Subject Re: combining c-code files into one c-code file
Date Wed, 18 Apr 2012 02:01:02 -0700 (PDT)
Organization Compilers Central
Lines 13
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <12-04-020@comp.compilers> (permalink)
References <12-04-005@comp.compilers>
NNTP-Posting-Host news.iecc.com
X-Trace leila.iecc.com 1334753969 41079 64.57.183.58 (18 Apr 2012 12:59:29 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Wed, 18 Apr 2012 12:59:29 +0000 (UTC)
Keywords C, tools
Posted-Date 18 Apr 2012 08:59:29 EDT
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref csiph.com comp.compilers:563

Show key headers only | 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