[ofw] anyone know how to link strdup?
Sean Hefty
sean.hefty at intel.com
Tue Feb 17 10:42:17 PST 2009
Maybe it'll help if I post the sources file that I'm using:
TARGETNAME = smpquery
TARGETPATH = ..\..\..\..\bin\user\obj$(BUILD_ALT_DIR)
TARGETTYPE = PROGRAM
UMTYPE = console
UMENTRY = main
USE_MSVCRT = 1
SOURCES = ..\smpquery.c ..\ibdiag_common.c ..\ibdiag_windows.c smpquery.rc
INCLUDES = ..\..\include;..\..\include\windows;\
..\..\..\..\ulp\libibmad\include;\
..\..\..\..\ulp\libibumad\include;\
..\..\..\..\inc;..\..\..\..\inc\user;
C_DEFINES = $(C_DEFINES) /DCL_NODENAMEMAP /DHAVE_CONFIG_H
TARGETLIBS = \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\ws2_32.lib \
!if $(FREEBUILD)
$(TARGETPATH)\*\complib.lib \
$(TARGETPATH)\*\libibmad.lib \
$(TARGETPATH)\*\libibumad.lib
!else
$(TARGETPATH)\*\complibd.lib \
$(TARGETPATH)\*\libibmadd.lib \
$(TARGETPATH)\*\libibumadd.lib
!endif
MSC_WARNING_LEVEL = /W3 /WX /wd4007
More information about the ofw
mailing list