This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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: libstdc++ configuration error, ct-ng v1.16.0


David, All,

On Thursday 04 October 2012 08:18:21 David Holsgrove wrote:
> # HG changeset patch
> # User David Holsgrove <david.holsgrove@xilinx.com>
> # Date 1348552500 -36000
> # Node ID 2df8f5a184b721e66a24db1aef61529691195393
> # Parent  43ace4bb005eef085437e3d4fbaef528ef0ef005
> scripts/gcc.sh: Add copyheaders section for baremetal canadian
[--SNIP--]
> @@ -221,8 +221,13 @@
>      fi
> 
>      if [ "${copy_headers}" = "y" ]; then
> -        CT_DoLog DEBUG "Copying headers to install area of bootstrap
> gcc, so it can build libgcc2"
> -        CT_DoExecLog ALL cp -a "${CT_HEADERS_DIR}"
> "${prefix}/${CT_TARGET}/include"
> +        if [ "${mode}" = "baremetal" ]; then
> +            CT_DoLog DEBUG "Copying headers from newlib source to
> install area of bootstrap gcc, so it can build libstdc++"
> +            CT_DoExecLog ALL cp -a
> "${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}/newlib/libc/include/."
> "${prefix}/${CT_TARGET}/include"
> +        else
> +            CT_DoLog DEBUG "Copying headers to install area of
> bootstrap gcc, so it can build libgcc2"
> +            CT_DoExecLog ALL cp -a "${CT_HEADERS_DIR}"
> "${prefix}/${CT_TARGET}/include"
> +        fi
>      fi
> 
>      for tmp in ARCH ABI CPU TUNE FPU FLOAT; do

Your mailer mangles the patches you send. I've been bitten by this when
trying to apply your canadian-multilib patch, and I missed half of it.

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]