This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all, i'm trying to build dlls using an arm-elf configure version of gcc via cygwin. i downloaded the dllhelpers-0.2.6 package and using the version of gcc shipped with cygwin (v 3.2 configured with i686-pc-cygwin target) i was able to build the c example with any problems i tried to change the makefile so that the arm-elf-gcc cross-compiler would be used instead but i get the following errors: $make c:/win/arm/bin/arm-elf-gcc -c -DBUILDING_DLL=1 -I. -g -Wall -o cdll.c In file included from cdll.c:1: cdll.h:25: warning: return type defaults to 'int' cdll.h: In function '__declspec': cdll.h:26: parse error before "__declspec" cdll.h:25: declaration for parameter 'dll_int_square' but no such parameter cdll.c:6: 'i' undeclared <first use in this function> cdll.c:6: <Each undeclared identifier is reported only once cdll.c:6: for each function it appears in.> cdll.c: At top level: cdll.c:9: warning: return type default to 'int' cdll.c:9: redefinition of '__declspec' cdll.h:27: '__declspec' previously defined here cdll.c: In function '__declspec': cdll.c:11: parse error before '{' token cdll.c:11: declaration for parameter 'dll_double_square' but no such parameter cdll.c:19: 'f' undelared <first use in this function> cdll.c: At top level: cdll.c:22: warning: return type defaults to 'int' cdll.c:22: redefinition of '__declspec' cdll.c:14: '__declspec' previously defined here cdll.c: In function '__declspec': cdll.c:23: parameter 'dll_global_int_var' is initialized cdll.c:25: parse error before "__declspec" cdll.c:23: declaration for parameter 'dll_global_int_var' but no such parameter make: *** {cdll.o] Error 1 can somebody give me any indication as to why these errors occur??? i've also noticed that further down in the make file there is an option --out-implib FILE which is not supported by arm-elf-gcc is there an alternative to this?? any help at all would be much appreciated!!! Regards, Paul __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |