3 Jun 2009 15:47
Re: Introduction
Jeremy C. Reed <reed <at> reedmedia.net>
2009-06-03 13:47:19 GMT
2009-06-03 13:47:19 GMT
> > Are there any experiences in compiling ports? > > IIRC, Jeremy C. Reed was using PCC on pkgsrc. I haven't heard lately how > that's going. I haven't done much with it lately. I reported a few issues in pcc which I think have been solved now. My main hurdle was getting libtool to know pcc. I started working on libtool but never completed that. For what it is worth, I added "PKGSRC_COMPILER=pcc" support for the pkgsrc compiler framework, so pkgsrc builds will use pcc for the C compiler. Jeremy C. Reed echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \ tr '#-~' '\-.-{'
-- Ragge
Next step then is diff on the assembler produced for the file with and without the change. I used it to find the
ssa bug, that's why the -xssa is still in here. Use and enjoy.
Here goes the script, change the home as needed:
#!/usr/local/bin/bash
for name in `find pcc -name "*.c"` ; do {
# clean the playfield
echo "rollback" >> /tmp/logfile ;
tar xf back.tar
cd pcc ;
# install known correct compiler
make install;
#touch one source file
echo "==============================" >> /tmp/logfile ;
RSS Feed