Hi Mathieu,

thank you for the prompt answer, here it is the portion of my makefile that
governs the windows build:

# ----------------------- NT -----------------------
pd_nt: $(TARGETS)

MINGWCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
    -Wall -W -Wshadow -Wstrict-prototypes -Werror \
    -Wno-unused -Wno-parentheses -Wno-switch -mms-bitfields

MINGWLDFLAGS =   -shared -lm -lkernel32 -lcoldname -lcrtdll -L$(PDLIBDIR)
-lpd

MINGWINCLUDE =  -I$(PDSRCDIR)

CC = mingw32-gcc.exe

%.pd_nt: %.c
    $(CC) $(MINGWLDFLAGS) $(MINGWCFLAGS) $(MINGWINCLUDE) -o $*.dll $*.c

and these are the command lines eclipse issues:

mingw32-make pd_nt
mingw32-gcc.exe -shared -lm -lkernel32 -lcoldname -lcrtdll
-Lc:/Programmi/pd/bin -lpd -DPD -O2 -funroll-loops -fomit-frame-pointer
-Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses
-Wno-switch -mms-bitfields -Ic:/Programmi/pd/src -o helloworld.dll
helloworld.c

so I'm using the -shared linker option and -lpd dowsn't mean that I'm
linking against the pd dll?
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to