Daniel J Walsh wrote:
On 09/16/2009 03:35 PM, Joshua Brindle wrote:
Joshua Brindle wrote:
Daniel J Walsh wrote:
What do you think of this one. Removed excess swig cruft,
You need to run
make swigify to generate those changes.
Ok, looking at this now. I don't completely get how it works. I'm trying
to reproduce what you are doing by hand but nothing comes out of gcc:
[root@localhost src]# echo '#include "../include/selinux/selinux.h"'>
temp.c
[root@localhost src]# gcc -c temp.c -aux-info temp.aux
[root@localhost src]# ls temp.*
temp.c temp.o
I got this "sort of" working locally. It works when I call it directly
on the header but it leaves a .gch file sitting in the include directory.
Trying to use stdin I get:
[root@localhost src]# gcc -x c-header -c - -aux-info temp.aux <
../include/selinux/selinux.h
<stdin>:569: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Other comments:
The disconnect between swigify and clean targets remains: If make
swigify builds this, and it is checked in to the tree then make clean
shouldn't remove it, else it should be in the pywrap target and not
installed.
I'm not sure what the header re-ordering in selinuxswig.i and the
copytree/install functions have to do with this patch.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.