[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] I want to port make on Windows using tcc compiler
From: |
Eli Zaretskii |
Subject: |
Re: [Tinycc-devel] I want to port make on Windows using tcc compiler |
Date: |
Fri, 24 Jan 2020 09:25:10 +0200 |
> From: "Christian Jullien" <address@hidden>
> Cc: <address@hidden>
> Date: Wed, 22 Jan 2020 20:57:37 +0100
>
> Ok here are the patches:
Thanks. A few questions and comments below.
> :: Find a compiler. Visual Studio requires a lot of effort to locate :-/.
> %COMPILER% >nul 2>&1
> @@ -172,6 +182,7 @@
> set OUTDIR=.\GccRel
> set LNKOUT=./GccRel
> set OPTS=-O2
> +set DIRENT=N
What is this part about? Is it needed, and if so, why?
> +:TccCompile
> +:: TCC Compile
> +echo on
> +%COMPILER% -mthreads -Wall -std=c11 %OPTS% -I%OUTDIR%/src -I./src
Why are you using -std=c11 here? this is unlike all the other
compilations, which use C99.
> +:TccLink
> +:: TCC Link
> +echo on
> +echo %GUILELIBS% -lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32
> -lshell32 -lole32 -loleaut32 -lodbc32 -lodbccp32 >>%OUTDIR%\link.sc
> +%COMPILER% -mthreads %OPTS% -o %LNKOUT%/%MAKE%.exe @%LNKOUT%/link.sc
Does this build the import library? And in general, does the tcc
build support loadable modules?
Last, but not least: a contribution this large will need you to sign
legal papers assigning the copyright to the FSF. Would you like me to
send you the form to fill to start the legal paperwork?
Paul, any comments? The changes look reasonable to me, FWIW.
- RE: [Tinycc-devel] I want to port make on Windows using tcc compiler, Christian Jullien, 2020/01/22
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Eli Zaretskii, 2020/01/22
- Message not available
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Eli Zaretskii, 2020/01/22
- RE: [Tinycc-devel] I want to port make on Windows using tcc compiler, Christian Jullien, 2020/01/22
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler,
Eli Zaretskii <=
- RE: [Tinycc-devel] I want to port make on Windows using tcc compiler, Christian Jullien, 2020/01/24
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Eli Zaretskii, 2020/01/24
- RE: [Tinycc-devel] I want to port make on Windows using tcc compiler, Christian Jullien, 2020/01/24
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Eli Zaretskii, 2020/01/24
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Paul Smith, 2020/01/24
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Eli Zaretskii, 2020/01/24
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Eli Zaretskii, 2020/01/25
- RE: [Tinycc-devel] I want to port make on Windows using tcc compiler, Christian Jullien, 2020/01/26
- Re: [Tinycc-devel] I want to port make on Windows using tcc compiler, Eli Zaretskii, 2020/01/26
- RE: [Tinycc-devel] I want to port make on Windows using tcc compiler, Christian Jullien, 2020/01/26