Author Topic: Truncated Build Log Messages  (Read 3424 times)

Offline Stevo

  • Multiple posting newcomer
  • *
  • Posts: 18
Truncated Build Log Messages
« on: January 24, 2006, 05:18:24 am »
Hi,

It seems the build log messages are limited to 1024 characters in length.  This is way too small.  When building a complex project with GCC, and a lot of -I path settings, it is really easy to blow 1024 characters, and what you then end up with is a truncated command for the build in the build log.  Not to mention my link command, which is just huge.

This is bad, because often i like to see exactly what has been passed to the compiler when i build a project, especially when im fiddling with options.

This has occured for me using custom make files (i dont use the built in build management, so cant say if the problem is limited to custom make files or not).

I did a quick hunt around to see where this limit is declared, so i can up it to a reasonable number, or even see if it can be dealt with dynamically on a line by line basis, but failed to find its source.

Any pointers or suggestions would be appreciated.

Stevo

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Truncated Build Log Messages
« Reply #1 on: January 24, 2006, 08:34:52 am »
Do you happen to use an old Windows version such as Windows98 or ME?
Then you have to increase your shell thingie size... it is a Windows insufficiency.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Stevo

  • Multiple posting newcomer
  • *
  • Posts: 18
Re: Truncated Build Log Messages
« Reply #2 on: January 24, 2006, 01:16:28 pm »
Sorry, I should have said.  Im using Linux, im pretty convinced its a C::B insufficiency.

From the command line i get:

Code: [Select]
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
/opt/X-GCC/bin/arm-elf-g++ -o Application/bin/MainTasks/JackpotMain.o -c -gstabs+ -w -Wall -mlittle-endian -mcpu=arm7tdmi -fno-keep-inline-functions -ffunction-sections -fdata-sections -mthumb-interwork -O3 -fno-enforce-eh-specs -fno-rtti -fvtable-gc -DINTEGER_ONLY -mthumb -ICommon -IApplication/bin/include -IApplication/include -IApplication/bin/OS/inc -IApplication/OS/inc -IApplication/bin/OS/port/ml67q4003 -IApplication/OS/port/ml67q4003 -IApplication/bin/startup -IApplication/startup -IApplication/bin/Drivers -IApplication/Drivers -IApplication/bin/Drivers/TimerDrv -IApplication/Drivers/TimerDrv -IApplication/bin/Drivers/RNG -IApplication/Drivers/RNG -IApplication/bin/Drivers/IR_Remote -IApplication/Drivers/IR_Remote -IApplication/bin/Drivers/LEDPanel -IApplication/Drivers/LEDPanel -IApplication/bin/Drivers/LinearFileSystem -IApplication/Drivers/LinearFileSystem -IApplication/bin/Drivers/Debug232Text -IApplication/Drivers/Debug232Text -IApplication/bin/Drivers/NVRAMManager -IApplication/Drivers/NVRAMManager -IApplication/bin/Drivers/GPIO -IApplication/Drivers/GPIO -IApplication/bin/Drivers/Flash -IApplication/Drivers/Flash -IApplication/bin/Drivers/COMMS -IApplication/Drivers/COMMS -IApplication/bin/Drivers/COMMS/UART -IApplication/Drivers/COMMS/UART -IApplication/bin/Drivers/COMMS/SIO -IApplication/Drivers/COMMS/SIO -IApplication/bin/MainTasks -IApplication/MainTasks -IApplication/bin/GraphicsEngine -IApplication/GraphicsEngine -IApplication/bin/General -IApplication/General -IApplication/bin/ConfigMenu -IApplication/ConfigMenu -IApplication/bin/Reset -IApplication/Reset -IApplication/bin/Protocols -IApplication/Protocols -IApplication/bin/StdLibraries/include -IApplication/StdLibraries/include Application/MainTasks/JackpotMain.cpp
/opt/X-GCC/bin/arm-elf-g++ -o Application/bin/LEDSeries4-Application.elf -static -Wl,'--gc-sections' -nostartfiles -nodefaultlibs -nostdlib -O2 -Wl,'-Map' -Wl,Application/bin/LEDSeries4-Application.map -Wl,'--cref' -Wl,'-TApplication/App.link' -Wl,'--no-check-sections' Application/bin/OS/port/ml67q4003/arch_a.o Application/bin/OS/port/ml67q4003/setjmp.o Application/bin/startup/startup.o Application/bin/startup/vectors.o Application/bin/Drivers/LEDPanel/QuickTransferFrame.o Application/bin/GraphicsEngine/Blits.o Application/bin/GraphicsEngine/BlitMasks.o Application/bin/General/gcc_math.o Application/bin/OS/src/pico/picoos.o Application/bin/OS/port/ml67q4003/arch_c.o Application/bin/startup/Stacks.o Application/bin/startup/main.o Application/bin/Drivers/GPIO/GPIO_Relays.o Application/bin/Drivers/Flash/flashpgm.o Application/bin/Drivers/RNG/rng.o Application/bin/Drivers/TimerDrv/TimerDrv.o Application/bin/Drivers/LEDPanel/FrameBuffer.o Application/bin/Drivers/LEDPanel/BlockBalance.o Application/bin/Drivers/LEDPanel/FPGADTA_STRIP.o Application/bin/Drivers/LEDPanel/lp_fpga_init.o Application/bin/Drivers/IR_Remote/IRdrv.o Application/bin/Drivers/NVRAMManager/JackpotDB.o Application/bin/Drivers/NVRAMManager/TextLineDB.o Application/bin/Drivers/LinearFileSystem/lfs.o Application/bin/Drivers/LinearFileSystem/DownLoad.o Application/bin/Drivers/COMMS/UART/UARTComms.o Application/bin/General/bcd.o Application/bin/General/crc16.o Application/bin/General/EclipseMath.o Application/bin/General/file.o Application/bin/General/md5.o Application/bin/MainTasks/Idle.o Application/bin/MainTasks/JackpotMain.o Application/bin/MainTasks/MultipleJackpotDisplay.o Application/bin/GraphicsEngine/Primitives.o Application/bin/GraphicsEngine/Colour.o Application/bin/GraphicsEngine/blit.o Application/bin/GraphicsEngine/BlitMask.o Application/bin/GraphicsEngine/FliPlayer.o Application/bin/GraphicsEngine/Graphics.o Application/bin/GraphicsEngine/MessageStrip.o Application/bin/GraphicsEngine/Scroll.o Application/bin/GraphicsEngine/Font.o Application/bin/GraphicsEngine/FontStorage.o Application/bin/GraphicsEngine/Attracts.o Application/bin/GraphicsEngine/Odometer.o Application/bin/GraphicsEngine/Effects.o Application/bin/GraphicsEngine/PNGStorage.o Application/bin/GraphicsEngine/LoadPNG.o Application/bin/GraphicsEngine/TextLine.o Application/bin/GraphicsEngine/Scale.o Application/bin/GraphicsEngine/BaseLFSImage.o Application/bin/ConfigMenu/Settings.o Application/bin/ConfigMenu/ActualSettings.o Application/bin/ConfigMenu/MenuSettings.o Application/bin/ConfigMenu/ListData.o Application/bin/ConfigMenu/MenuChar.o Application/bin/ConfigMenu/MenuData.o Application/bin/ConfigMenu/MenuEffect.o Application/bin/ConfigMenu/MenuHex.o Application/bin/ConfigMenu/MenuIDText.o Application/bin/ConfigMenu/MenuLFS.o Application/bin/ConfigMenu/MenuList.o Application/bin/ConfigMenu/MenuNumber.o Application/bin/ConfigMenu/MenuPIN.o Application/bin/ConfigMenu/MenuSlider.o Application/bin/ConfigMenu/MenuText.o Application/bin/ConfigMenu/Menu.o Application/bin/ConfigMenu/ThemeSettings.o Application/bin/ConfigMenu/ThemeData.o Application/bin/ConfigMenu/ClearFlash.o Application/bin/ConfigMenu/Diagnostics.o Application/bin/Reset/Reset.o Application/bin/Protocols/Translux.o Application/bin/Protocols/Jupiters.o Application/bin/Protocols/Cougar.o Application/bin/Protocols/MikohnCON2.o Application/bin/Protocols/MikohnCasinoLink.o Application/bin/Protocols/DemoProtocol.o Application/bin/Protocols/SmodemDL.o Application/bin/Protocols/IDText.o Application/bin/Protocols/Bally_DIU.o Application/bin/Protocols/XProtocol.o Application/bin/Protocols/IGT_CCOM.o Application/bin/Protocols/WMS_WideArea.o Application/bin/OS/port/ml67q4003/newlib_interface.o Application/bin/General/StringBuffer.o Application/bin/GraphicsEngine/BlitMasksArm.o Application/bin/nrv2d99.o -L/opt/X-GCC/arm-elf/lib/thumb/interwork -L/opt/X-GCC/lib/gcc/arm-elf/4.0.0/thumb/interwork -LApplication/bin/StdLibraries/lib -LApplication/StdLibraries/lib -lc -lg -lm -lgcc -lbz2 -lz -lpng -lnrv
/opt/X-GCC/bin/arm-elf-objcopy -v -O binary -j .text -j .data -j .got -j .got2 -j .fixup -j .iram -S -g Application/bin/LEDSeries4-Application.elf Application/bin/LEDSeries4-Application.bin
copy from Application/bin/LEDSeries4-Application.elf(elf32-littlearm) to Application/bin/LEDSeries4-Application.bin(binary)
/opt/X-GCC/bin/arm-elf-objdump -f -x -D Application/bin/LEDSeries4-Application.elf > Application/bin/LEDSeries4-Application.dump
scons: done building targets.

whereas inside C::B Build Log i get:

Code: [Select]
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
/opt/X-GCC/bin/arm-elf-g++ -o Application/bin/MainTasks/JackpotMain.o -c -gstabs+ -w -Wall -mlittle-endian -mcpu=arm7tdmi -fno-keep-inline-functions -ffunction-sections -fdata-sections -mthumb-interwork -O3 -fno-enforce-eh-specs -fno-rtti -fvtable-gc -DINTEGER_ONLY -mthumb -ICommon -IApplication/bin/include -IApplication/include -IApplication/bin/OS/inc -IApplication/OS/inc -IApplication/bin/OS/port/ml67q4003 -IApplication/OS/port/ml67q4003 -IApplication/bin/startup -IApplication/startup -IApplication/bin/Drivers -IApplication/Drivers -IApplication/bin/Drivers/TimerDrv -IApplication/Drivers/TimerDrv -IApplication/bin/Drivers/RNG -IApplication/Drivers/RNG -IApplication/bin/Drivers/IR_Remote -IApplication/Drivers/IR_Remote -IApplication/bin/Drivers/LEDPanel -IApplication/Drivers/LEDPanel -IApplication/bin/Drivers/LinearFileSystem -IApplication/Drivers/LinearFileSystem -IApplication/bin/Drivers/Debug232Text -IApplication/Drivers/Debug232Text -IApplication/bin/Drivers/NVRAMManager -IApplication/Drivers/NVRAMMana
/opt/X-GCC/bin/arm-elf-g++ -o Application/bin/LEDSeries4-Application.elf -static -Wl,'--gc-sections' -nostartfiles -nodefaultlibs -nostdlib -O2 -Wl,'-Map' -Wl,Application/bin/LEDSeries4-Application.map -Wl,'--cref' -Wl,'-TApplication/App.link' -Wl,'--no-check-sections' Application/bin/OS/port/ml67q4003/arch_a.o Application/bin/OS/port/ml67q4003/setjmp.o Application/bin/startup/startup.o Application/bin/startup/vectors.o Application/bin/Drivers/LEDPanel/QuickTransferFrame.o Application/bin/GraphicsEngine/Blits.o Application/bin/GraphicsEngine/BlitMasks.o Application/bin/General/gcc_math.o Application/bin/OS/src/pico/picoos.o Application/bin/OS/port/ml67q4003/arch_c.o Application/bin/startup/Stacks.o Application/bin/startup/main.o Application/bin/Drivers/GPIO/GPIO_Relays.o Application/bin/Drivers/Flash/flashpgm.o Application/bin/Drivers/RNG/rng.o Application/bin/Drivers/TimerDrv/TimerDrv.o Application/bin/Drivers/LEDPanel/FrameBuffer.o Application/bin/Drivers/LEDPanel/BlockBalance.o Application/bin/Drivers/LED
/opt/X-GCC/bin/arm-elf-objcopy -v -O binary -j .text -j .data -j .got -j .got2 -j .fixup -j .iram -S -g Application/bin/LEDSeries4-Application.elf Application/bin/LEDSeries4-Application.bin
copy from Application/bin/LEDSeries4-Application.elf(elf32-littlearm) to Application/bin/LEDSeries4-Application.bin(binary)
/opt/X-GCC/bin/arm-elf-objdump -f -x -D Application/bin/LEDSeries4-Application.elf > Application/bin/LEDSeries4-Application.dump
scons: done building targets.
Target is up to date.
Process terminated with status 0 (0 minutes, 13 seconds)
0 errors, 0 warnings