tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] autoconfiscation


From: Shawn Rutledge
Subject: Re: [Tinycc-devel] autoconfiscation
Date: Tue, 28 Aug 2007 19:56:01 -0700

On 8/28/07, Rob Landley <address@hidden> wrote:
> Building the entire project, including all cross compiler targets, the build
> currently does this:
>
> cc -O2 -g -Wall -fsigned-char -Os -mpreferred-stack-boundary=2 -m386 \
>         -malign-functions=0 -o tcc tcc.c -lm -ldl
> cc -O2 -g -Wall -fsigned-char -Os -mpreferred-stack-boundary=2 -m386 \
>         -malign-functions=0 -DTCC_TARGET_ARM -DTCC_ARM_EABI \
>         -o arm-tcc tcc.c -lm -ldl
> cc -O2 -g -Wall -fsigned-char -Os -mpreferred-stack-boundary=2 -m386 \
>         -malign-functions=0 -DTCC_TARGET_C67 -o c67-tcc tcc.c -lm -ldl
> cc -O2 -g -Wall -fsigned-char -Os -mpreferred-stack-boundary=2 -m386 \
>         -malign-functions=0 -DTCC_TARGET_PE -o i386-win32-tcc tcc.c -lm -ldl
> cc -O2 -Wall -c -o libtcc1.o libtcc1.c
> cc -c -o i386/alloca86.o i386/alloca86.S
> cc -c -o i386/bound-alloca86.o i386/bound-alloca86.S
> ar rcs libtcc1.a libtcc1.o i386/alloca86.o i386/bound-alloca86.o
> cc -O2 -Wall -c -o bcheck.o bcheck.c
> cc -O2 -g -Wall -fsigned-char -Os -mpreferred-stack-boundary=2 -m386 \
>         -malign-functions=0 -DLIBTCC -c -o libtcc.o tcc.c
> ar rcs libtcc.a libtcc.o
>
> The above can actually be _simplified_ somewhat, I suspect.  Why, exactly,
> does this need more complexity than a very small shell script?

Yeah you're right.  It's a beautiful thing, small and simple.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]