this doesn't help: --------------------------- #define CONFIG_TCCDIR "/c/Program Files/tcc" #define GCC_MAJOR 3 #define HOST_I386 1 #define CONFIG_WIN32 1 #define TCC_VERSION "0.9.23"
#define WIN32 #define TCC_TARGET_PE --------------------- results in: gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 -fno-strict-aliasing -DTCC_TARGET_PE -o tcc.exe tcc.c In file included from tcc.c:21: config.h:9:1: warning: "TCC_TARGET_PE" redefined <command line>:6:1: warning: this is the location of the previous definition In file included from tcc.c:51: elf.h:37: error: conflicting types for 'uint32_t' /usr/include/stdint.h:28: error: previous declaration of 'uint32_t' was here tcc.c: In function `strcat_vprintf': tcc.c:1338: warning: implicit declaration of function `_vsnprintf' tcc.c: In function `parse_number': tcc.c:3374: warning: implicit declaration of function `strtold' tcc.c: In function `macro_subst_tok': tcc.c:4026: warning: implicit declaration of function `_snprintf' tcc.c: In function `getclock_us': tcc.c:10181: error: storage size of 'tb' isn't known tcc.c:10182: warning: implicit declaration of function `_ftime' tcc.c:10181: warning: unused variable `tb' tcc.c: At top level: tcc.c:393: warning: 'rt_bound_error_msg' defined but not used tcc.c:9340: warning: 'rt_printline' defined but not used make: *** [tcc.exe] Error 1 yours Andrew > -----Original Message----- > From: Timo Lähde [mailto:[EMAIL PROTECTED] > Sent: 14 February 2006 06:12 > To: Andrew Finney > Subject: [Tinycc-devel] going nuts trying to get / generate > windows binary of tcc[Scanned] > > Hello! > > If that #define WIN32 is missing from config.h . > > I use this config.h, when I compiled it with PellesC. > > ---------------------- > /* Automatically generated by configure - do not modify */ > #define CONFIG_TCCDIR "/c/Program Files/tcc" > #define CONFIG_TCC_CRT_PREFIX ".\\lib" > #define GCC_MAJOR 3 > #define HOST_I386 1 > #define CONFIG_WIN32 1 > #define TCC_VERSION "0.9.23" > #define WIN32 > #define TCC_TARGET_PE > ---------------------- > > That directory prefix CONFIG_TCC_CRT_PREFIX is for my > directory-tree like this for testing purpose: > > tcc > bin\ > include\ > lib\ > > Timppa > ############################### > Domus Yhtiöt Oy - Domus Group Ltd > Puhelinnumeromme ovat muuttuneet! > Uusi valtakunnallinen numeromme on 0207 100 200 > > Our phonenumbers have changed! > New number is +358 207 100 200 > ############################### > > _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
