|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D.gnu - Unit Test with GDC on MacOS X?
I have a module (someone else's module, actually) which includes a unit test. I also have GDC (d-for-gcc-r1f.tgz) built with GCC 3.4.0 on MacOS X 10.3.4. When I compile the module for unit testing (gdc -funittest source.d), I get: /usr/bin/ld: Undefined symbols: __Dmain Any ideas on what I'm not doing right? -- Jonathan Leffler #include <disclaimer.h> Email: jleffler earthlink.net, jleffler us.ibm.com Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/ Jul 06 2004
Jonathan Leffler wrote:I have a module (someone else's module, actually) which includes a unit test. I also have GDC (d-for-gcc-r1f.tgz) built with GCC 3.4.0 on MacOS X 10.3.4. When I compile the module for unit testing (gdc -funittest source.d), I get: /usr/bin/ld: Undefined symbols: __Dmain Any ideas on what I'm not doing right? Jul 06 2004
|