I'm having trouble using Sourcery VSIPL++ - with Cygwin GNU g++ compiler 3.4.4
sonho4 at comcast.net
sonho4 at comcast.net
Thu Dec 28 22:24:56 UTC 2006
Earlier I tried to comiple and build VSIPL++ example1.cpp with Intel Compiler without sucess.
Now, I use Cygwin GNU g++ compiler and ran into different problems.
1) I downloaded the VSIPL++ Binary package (IA32 Microsoft Windows XP), sourceryvsipl++-1.2-win-x86 (WinZip file), from http://www.codesourcery.com/vsiplplusplus/1.2/download.html to my WinXP laptop computer.
2) Also, I installed the Cygwin g++ compiler version 3.4.4 on my laptop computer.
3) I unzipped the VSIPL++ binary package.
4) I tried to compile and run /share/sourceryvsipl++/example1.cpp without success.
Please look at the following compilation output and tell me what's wrong (got example1.o ok but encountered the linker error (see below.)
bash-3.2$ pwd
/cygdrive/c/SourceryVSIPL++/share/sourceryvsipl++
bash-3.2$ pwd
/cygdrive/c/SourceryVSIPL++/share/sourceryvsipl++
bash-3.2$ ls
Copy of Makefile Makefile Makefile.bak example1.cpp fft.cpp vsip vsip_csl
bash-3.2$ g++ -c -I. example1.cpp
bash-3.2$ ls *.o
example1.o
bash-3.2$ g++ -o example1 -L/cygdrive/c/SourceryVSIPL++/lib -llibvsip_csl -llibsvpp
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab):
undefined reference to `_WinMain at 16'
collect2: ld returned 1 exit status
Thanks,
Son Ho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20061228/5720b974/attachment.html>
More information about the vsipl++
mailing list