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]

Re: [CT-NG] Bug (?) and feature request


Ioannis and All,

On Sunday 13 July 2008 11:37:40 venetis@mail.capsl.udel.edu wrote:
> When trying to build gcc 4.3.1 for the Alpha target, I have to explicitly
> pass the --with-gfp and --with-mpfr options to the GCC building flags,
> i.e., after running "ct-ng menuconfig" I have to go to "C compiler" and
> set the "Core gcc extra config" and "gcc extra config" options.

Fixed in SVN, thanks!

> Now, the feature request I have is this. When running "ct-ng build",
> everything is logged in a file. Everything except of the configure and
> make commands that are executed. Is it possible to add these to the build
> log?

Ha! This one I have thought about a lot. There is a new shell function in
crosstool-NG that is called CT_DoExecLog that behaves much like CT_DoLog, but
will execute its argument(s) rather than print them. I still have to do the
switch from the following constructs:
  make blah blah 2>&1 |CT_DoLog LEVEL

to the new form:
  CT_DoExecLog LEVEL make blah blah

which takes care of redirecting stderr and stdout to the log file, and should
be able to also log the command itself.

Planned in the WE (long WE in France, July the 14th is bank holiday! YEAH!).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | * _ * | / \ HTML MAIL    |  """  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]