bneijt / ccbuild

C++ source scanning build utility
GNU General Public License v2.0
5 stars 3 forks source link

features.h dependency and OS X #24

Closed jelmervdl closed 3 years ago

jelmervdl commented 13 years ago

I tried to compile ccbuild on OS X but it got stuck on features.h, which as far as I can tell Mac OS X does not have. But it seems it is only used in the wordexp implementation?

As an experiment, I removed the included wordexp implementation and just used the wordexp.h which is available on OS X by default. After removing all references to wordexp and features.h from the makefiles, ccbuild did compile and it does seem to work (I've only tried it on one project so far)

(I compiled bobcat as described by JP van Oosten with a few changes, and used GNU gcc 4.6, not Apple's llvm-gcc to compile ccbuild.)

bneijt commented 12 years ago

Ah, great to hear. I've gotten the opportunity to lend a Mac from work, and I've tried to compile it but got stuck at bobcat. I'll try the JP van Oosten method and see how far it gets me. Wordexp has always been a portability problem, and it's used to expand the back-tick notation in the ccResolutions file.

After I have gotten as far as you have, I'll try to see how I can handle wordexp. Thank you for trying!

bneijt commented 3 years ago

Have not gotten it to work and never got around to trying it again. So it finally dropped of my TODO list.