D not able to link .o files

meldolion pi at marsinvasion.de
Mon Feb 25 08:29:44 PST 2008


I tried to include a external c function created by MinGW in a D source.

so I got a helloworld.o file

when i want to compile my main.d module with following command:

dmd main.d helloworld.o 
I get the error
Error: unrecognized file extension o

How can I solve that problem

thx for help
meldolion



More information about the Digitalmars-d mailing list