W dniu 2014-08-11 16:03, Ben Boeckel pisze:
On Thu, Aug 07, 2014 at 04:59:26 -0700, stevek wrote:
Of course, for this to work, tup would have to lose all its pretty progress
bars and colours etc.
Couldn't it just detect whether stdout is a tty or not?
--Ben
I really have an impression that this is an academic discussion... Tup
does not have colors or progress bars when printing output for a console
in Eclipse. In case of such "terminal" the output is "raw".
Previously someone mentioned the problem of finding folder of some
particular compilation step - this also shows that someone didn't even
try, as tup prints the folder (relative to project's root) in front of
EVERY command it executes. If there is no folder (no info at all), then
this means the command is run in the root of project.
Example 3 "raw" lines of output of tup in Eclipse, all with the folder
of the "execution" (folder with Tupfile) in front:
18% 2) [0.345s] apps\gprs-module: arm-none-eabi-g++ -c -std=gnu++11
-fno-builtin -fno-exceptions -fno-rtti -fverbose-asm -ffunction-sections
-fdata-sections -Wall -Wshadow -O2 -fno-strict-aliasing -fno-strength-reduce
-fomit-frame-pointer -g -ggdb3 -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -I.
-isystem ..\../nuttx/include -isystem ..\../nuttx/include/cxx -pipe
gprsModuleMain.cpp -o gprsModuleMain.o
21% 3) [0.120s] apps: arm-none-eabi-ar rcs libapps.a builtin\builtin.o
builtin\builtin_list.o builtin\exec_builtin.o gprs-module\PortMonitor.o
gprs-module\gprsModuleMain.o nshlib\nsh_builtin.o nshlib\nsh_command.o
nshlib\nsh_console.o nshlib\nsh_consolemain.o nshlib\nsh_dbgcmds.o
nshlib\nsh_ddcmd.o nshlib\nsh_envcmds.o nshlib\nsh_fscmds.o nshlib\nsh_init.o
nshlib\nsh_mmcmds.o nshlib\nsh_mntcmds.o nshlib\nsh_parse.o
nshlib\nsh_proccmds.o nshlib\nsh_script.o nshlib\nsh_session.o
nshlib\nsh_test.o system/readline\readline.o system/readline\readline_common.o
60% 4) [0.835s] nuttx: arm-none-eabi-ld --entry=__start -nostartfiles -nodefaultlibs
--gc-sections -Map=../nuttx/nuttx.map --cref -g
-L../nuttx/configs/IDS-STM32F401RE-gprs-module/scripts -Tld.script -L../nuttx/sched
-L../nuttx/arch/arm/src -L../nuttx/mm -L../nuttx/libc -L../nuttx/libxx -L../apps -L../nuttx/fs
-L../nuttx/drivers -L../nuttx/binfmt -L../nuttx/configs/IDS-STM32F401RE-gprs-module/src -o
nuttx.elf --start-group -lsched -larch -lmm -llib -llibxx -lapps -lfs -ldrivers
-lbinfmt -lboard "`arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=soft
-print-file-name=libm.a`" "`arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=soft
-print-libgcc-file-name`" --end-group
Regards,
FCh
--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.