A few days ago[0] I received an email from someone who can't compile tcc since I introduce the use of CString to concat linker options. Unfortunetely, I cannot reproduce this bug. Can anyone with Windows reproduce it?
[0] I asked authorization to forwarde this email to the author, hence the delay Best regard, Thomas Preud'homme
--- Begin Message ---Use CString to concat linker options Can you help me to find the missing library references, or fix the build? I liked everything that you were doing, until... you added the use of CString. I am using TDM32 version of GCC and building TCC under Windows command line, and your latest version will not build: ========================================== 1 file(s) copied. C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text+0x64): undefined referenc e to `cstr_new' C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text+0x427): undefined referen ce to `cstr_ccat' C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text+0x437): undefined referen ce to `cstr_cat' C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text.startup+0x416): undefined reference to `cstr_free' collect2: ld returned 1 exit status ..\include\float.h ..\include\stdarg.h ..\include\stdbool.h ..\include\stddef.h ..\include\tcclib.h ..\include\varargs.h 6 file(s) copied. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\tcc' is not recognized as an internal or external command, operable program or batch file. Can't open file libtcc1.o '.\tcc' is not recognized as an internal or external command, operable program or batch file. '.\libtcc_test' is not recognized as an internal or external command, operable program or batch file. Press any key to continue . . . ===========================================<<attachment: cstring1.jpg>>
--- End Message ---
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
