[Gc] Trouble locating gc.h with gcc/MinGW

Andrew Pennebaker andrew.pennebaker at gmail.com
Wed Sep 12 18:26:45 PDT 2012

I have download, configured, compiled, and installed BoehmGC in MinGW, but
when I try to compile a test
uses BoehmGC, gcc fails to find the library.

$ make
gcc -o boehmtest boehmtest.c -lgc
boehmtest.c:3:16: fatal error: gc.h: No such file or directory

I found gc.h in MinGW's /usr/local/include/gc directory, but adding
-I/usr/local/include/gc and -L/usr/local/include/gc don't help.


   - BoehmGC from cvs
   - gcc 4.5.2
   - MinGW 0.1-alpha-5.1
   - MSYS 1.0
   - Windows 7 Professional x64
   - MacBook Pro


Andrew Pennebaker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://napali.hpl.hp.com/pipermail/gc/attachments/20120912/52ef9949/attachment.htm

More information about the Gc mailing list