|
From: | Domingo Alvarez Duarte |
Subject: | Re: [Tinycc-devel] Is this ok on commit "Use proper PLT/GOT for -run" |
Date: | Mon, 7 Apr 2014 08:11:54 +0100 |
Hi,
On Sun, 6 Apr 2014, Domingo Alvarez Duarte wrote:
That's a silly warning, but doesn't seem to be the hint for the cause of trouble. You can set "PICFLAGS=" for the two win32 targets in lib/Makefile to get rid of the warning. I don't think it would change anything, though. Has that win32 with mingw64 combination ever worked for you (with same configure and environment)?On win32 with mingw64 I'm getting this error:---------
gcc -o i386-win32/tiny_libmaker.exe ../win32/tools/tiny_libmaker.c -I..
-Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
-Wno-unused-result -fPIC -DTCC_TARGET_I386 -DTCC_TARGET_PE
../win32/tools/tiny_libmaker.c:1:0: warning: -fPIC ignored for target (all
code is position independent) [enabled by default]
/*
^
alloca86.S is a 32bit assembler source, but you may have compiled it into a 64bit ELF file (when using gccs default options without -m32). That would cause this error if tiny_libmaker is compiled with -DTCC_TARGET_I386 (as it seems it is above). You probably want to add some -m32 somewhere in lib/Makefile for this combination.
i386-win32/tiny_libmaker.exe rcs ../libtcc1.a i386-win32/libtcc1.o
i386-win32/alloca86.o i386-win32/alloca86-bt.o i386-win32/bcheck.o
i386-win32/crt1.o i386-win32/wincrt1.o i386-win32/dllcrt1.o
i386-win32/dllmain.o i386-win32/chkstk.o
Unsupported Elf Class: i386-win32/alloca86.o
Ciao,
Michael.
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |