I'm not really sure since I haven't done x64 stuff on Linux but don't
you want to remove the
-march=i686
flag since that is 32 bit architecture flag?
--- In DatabaseTemplateLibrary@yahoogroups.com, "Kev" <chkev2001@...>
wrote:
>
> Hi,
> I try to compile the example program under x86_64 Red hat Linux box
> with unixODBC. When I run the command "sh build.sh", it gives me an
> error message:
>
> [root@localhost lib]# sh build.sh
> c++ -march=i686 -g -Wall -O0 -g3 -DDTL_UC -DUNIX -DHAVE_LONG_LONG
> -D_DEBUG -c -MMD -o debug/BoundIO.o BoundIO.cpp
> BoundIO.cpp:1: errorˇGyour selected CPU not support x86-64
instruction set
>
> please help...
>