[Aboriginal] cpp in the native environment
Rob Landley
rob at landley.net
Fri Feb 17 03:54:10 PST 2012
On 02/13/2012 04:50 AM, Paul Onyschuk wrote:
> On Tue, 31 Jan 2012 22:08:02 -0600
> Rob Landley wrote:
>
>>
>> I'd appreciate a test case so I know if what I'm implementing works.
>> Right now I haven't got anything that actually uses cpp...
>>
>
> Apologies for delay, but I was in the wilderness for 2 weeks.
Between day job and toybox eating my spare time, I'm at least as
distracted. :)
> I found that some configure scripts of Xorg parts are calling cpp
> directly (usage is pretty much the same): libX11, libXext, libXt,
> xorg-server, xf86-video-sis. You can check configure script around
> line 13000 of libX11 version 1.3.5 [1].
>
> I'm not good at reading configure scripts, but I managed to isolate
> relevant parts. I'm attaching 2 small shell scripts: cpp-undef.sh and
> cpp-whitespace.sh.
>
> With 'gcc -E "$@"' wrapper it ends up with error "rawcc: no input
> files". Hope this case scenarios will help.
>
> I patched temporarily configure scripts, but I guess I'll hit direct
> cpp usage later with other packages.
I'll just add cpp support to ccwrap and see if that helps. I've got a 3
day weekend coming up, should be able to catch up on this sort of thing
then...
Rob
1329479650.0
More information about the Aboriginal
mailing list