Displaying 2 results from an estimated 2 matches for "o2b2x".
Did you mean:
o2b2xg
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
...copying stuff...
helper.c(3) : error C2061: syntax error : identifier ''inline''
... some more stuff
Aha. VS2005 does not like the "inline" keyword, that appears to only
apply to C++ code.
3. Changed the Makefile to the following magical incantation:
CFLAGS = -MD -Zi -O2b2x /Dinline=__inline /Ob /LTCG /DWIN32
Also added
mt.exe -outputresource:$(DLLIB);2 -manifest $(DLLIB).manifest
to the $(DLLIB): target (this is required for VS2005 to generate
compatible dlls):
$(DLLIB): $(DEFFILE) $(OBJS)
@-$(RM) $@
$(LDSHARED) -Fe$(@) $(OBJS) $(LIBS) $(LOCAL_LIBS) $(D...
2006 Apr 26
0
DB2 under Windows XP - "Missing DB2 Libraries or headers"
...interesting exercise. I finally go it to show
me the
windows command it was trying to execute:
cl -nologo -Feconftest
-IC:/Ruby & Rails/ruby-db2-0.4.4/ext/db2
-Ic:/ruby/lib/ruby/1.8/i386-mswin32
"-I"C:/Program Files/IBM/SQLLIB"/include"
-I. -I./.. -I./../missing
-MD -Zi -O2b2xg- -G6 conftest.c
msvcrt-ruby18-static.lib db2cli.lib oldnames.lib
user32.lib advapi32.lib wsock32.lib -link
-libpath:""C:/Program Files/IBM/SQLLIB"/lib"
-libpath:"c:/ruby/lib"
-stack:0x2000000
After much playing around, I finally got a version that works:
cl -nolo...