This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Peica, All, [Please, wrap lines at 72-78 chars] On Tuesday 30 August 2011 16:56:57 Peica wrote: > I found I am in a stupid way. I am build whole toolchain time after time > to check some problem. It cause so many time. Is there any guide about > how to work in debug way like I could build a single one component at > each time. Yes, it is possible, but there are a few conditions : - you can't debug when changing the configuration; if you change the config, you have to start from scratch - you must initially configure with: Paths and misc options --> [*] Debug crosstool-NG [*] Save intermediate steps - first run crosstool-Ng as usual: ct-ng build Then: - crosstool-NG will print messages like: "Saving state to restart at step 'XXXX'..." - you can then restart the build with either one of: ct-ng XXXX+ -> restart at step XXXX and continue ct-ng XXXX -> restart at step XXXX, and stop just after - if you want to prepare a build up to a step: ct-ng +XXXX -> start from scratch, and stop just before step XXXX - to see all steps: ct-ng list-steps - you can get some auto-completion by sourcing ct-ng.comp . ct-ng.comp - and of course: ct-ng help docs/4 - Building the toolchain.txt docs/0 - Table of content.txt Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |