|Subject:||Re: [Tinycc-devel] VS2015 / was Ready for Release 0.9.27|
|Date:||Tue, 14 Feb 2017 16:45:10 +0100 (CET)|
Le : 14 février 2017 à 15:20 (GMT +01:00)
De : "grischka" <address@hidden>
À : "address@hidden" <address@hidden>
Objet : Re: [Tinycc-devel] VS2015 / was Ready for Release 0.9.27
Vladimir Vissoultchev wrote:
>> I have only this warning:
>> C>tiny_impdef libtcc.dll -o libtcc\libtcc.def
>> tiny_impdef: could not get exported function names.
> You might get this if you use vcvars32.bat on x64 platforms because the .bat
> file thinks that cl.exe will produce x64 executables, so compiled
> tiny_impdef.exe expects x64 dlls.
> Just pushed a fix for this: now checks %Platform% instead of
> %PROCESSOR_ARCHITECTURE% when using cl.exe
> Also, if target is forced (-t 32/64) the batch explicitly calls
> vcvars32/64.bat to force correct cl.exe settings.
Isn't there a VCVARSALL.BAT somewhere that knows where the toolchains
are and is supposed to be used like: "VCVARSALL.BAT x86/amd64" ?
Btw. I think I'm going to remove the tiny_xxx tools for release and
instead plug them into the tcc executable, for usage such as
tcc -ar ...
tcc -impdef ...
One plus is that you get -m32/64 with it for free, too.
Tinycc-devel mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|