Hello,
I'd like to report that inside mmintrin.h, there is the following line:
typedef unsigned long long __m64, __int64;
but it seems that __int64 is already defined, so in order to compile my
program i had to remove __int64 as follow:
typedef unsigned long long __m64;
Is there something i missed? Or was that file wrong? I'm using mingw32ce
0.5.1 build for cygwin.
Furthermore i have another problem during linking phase:
undefined reference to __builtin_arm_wand
undefined reference to __builtin_arm_wor
...
I used the following makefile:
TOOLCHAIN = /opt/mingw32ce
ARCH = /bin/arm-wince-mingw32ce-
CC = $(TOOLCHAIN)$(ARCH)gcc.exe
LINK = $(TOOLCHAIN)$(ARCH)gcc.exe
CFLAGS = -c -pipe -Wall -W -O2 -march=armv5te -mtune=iwmmxt -Wa,-mcpu=iwmmxt
-fomit-frame-pointer -I$(TOOLCHAIN)/arm-mingw32ce/include
-L$(TOOLCHAIN)/include -D_WIN32_WCE=0x0500 -D_WIN32_IE=0x0500
LIBS = -L$(TOOLCHAIN)/arm-mingw32ce/lib -L$(TOOLCHAIN)/lib -laygshell
OBJECTS = main.o
TARGET = myapp
first: all
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(LINK) -o $(TARGET) $(OBJECTS) $(LIBS)
main.o:
$(CC) $(CFLAGS) -o main.o main.c
Someone can point me to a solution?
Thanks in advance.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel