* Re: Newlib build fails [not found] <054401d9a62e$7f6da9a0$7e48fce0$@tranaptic.ca> @ 2023-06-24 5:01 ` Brian Inglis 2023-06-25 11:52 ` Hans-Bernhard Bröker 2023-10-15 10:23 ` Mike Frysinger 2 siblings, 0 replies; 4+ messages in thread From: Brian Inglis @ 2023-06-24 5:01 UTC (permalink / raw) To: newlib; +Cc: Keith Clifford On 2023-06-23 17:57, Keith Clifford wrote: > I am building newlib for a MinGW cross compiler tool chain for ARM, M68K, > and PowerPC. The build fails in all cases and I've included a patch that > allows me to get the build to work. > The pertinent details are: > Newlib version: 4.3.0 > Build system: CYGWIN_NT-10.0-19045 Keith-PC 3.4.6-1.x86_64 2023-02-14 13:23 > UTC x86_64 Cygwin > Host: MinGW > Target: arm-eabi, m68k-elf, and powerpc-eabi (see ${TARGET} below) > Configure parameters: --target=${TARGET} --prefix=${PREFIX} > The -print-multi-lib option for the respective built gcc generates output > for which the end of line is "\r\n" and config-ml.in leaves the '\r' in the > "flags" variable, in the following patch, confusing subsequent processing. Mingw is a native Windows hosted compiler using CR-LF EoLs, as is the Git for Windows you are using, and the patch you generated appears to be double spaced with a bunch of blank lines. If you built Cygwin-hosted cross-compilers and target binutils, and used Cygwin git, you would not have to deal with any CR-LF EoLs. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Newlib build fails [not found] <054401d9a62e$7f6da9a0$7e48fce0$@tranaptic.ca> 2023-06-24 5:01 ` Newlib build fails Brian Inglis @ 2023-06-25 11:52 ` Hans-Bernhard Bröker 2023-06-26 22:00 ` Keith Clifford 2023-10-15 10:23 ` Mike Frysinger 2 siblings, 1 reply; 4+ messages in thread From: Hans-Bernhard Bröker @ 2023-06-25 11:52 UTC (permalink / raw) To: newlib Am 24.06.2023 um 01:57 schrieb Keith Clifford: > Hi, > > I am building newlib for a MinGW cross compiler tool chain for ARM, M68K, > and PowerPC. But why are you building it as a "canadian cross"? In other words, why would you use Cygwin to build this cross compiler, instead of MinGW itself? ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Newlib build fails 2023-06-25 11:52 ` Hans-Bernhard Bröker @ 2023-06-26 22:00 ` Keith Clifford 0 siblings, 0 replies; 4+ messages in thread From: Keith Clifford @ 2023-06-26 22:00 UTC (permalink / raw) To: 'Hans-Bernhard Bröker', newlib Hi, Originally, I did build it under MinGW using MSYS but it was becoming troublesome keeping it all working with the changes to MSYS and MinGW that were going on at the time. MinGW is nowhere nearly as well supported as Cygwin. Cygwin offers a much richer build/development environment. At least in theory, I should be able to run whatever I build in the Cygwin environment. Cygwin is maintained better. Other than one hiccup that had nothing to do with Cygwin, once I got the compilers building under Cygwin, I've had relatively little trouble continuing to build them compared to the difficulties I had had under MinGW. Regards, Keith Keith Clifford Cell: 250 888-4558 Email: kclifford@tranaptic.ca Web: https://www.tranaptic.ca -----Original Message----- From: Newlib <newlib-bounces+kclifford=tranaptic.ca@sourceware.org> On Behalf Of Hans-Bernhard Bröker Sent: June-25-23 4:52 AM To: newlib@sourceware.org Subject: Re: Newlib build fails Am 24.06.2023 um 01:57 schrieb Keith Clifford: > Hi, > > I am building newlib for a MinGW cross compiler tool chain for ARM, > M68K, and PowerPC. But why are you building it as a "canadian cross"? In other words, why would you use Cygwin to build this cross compiler, instead of MinGW itself? ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Newlib build fails [not found] <054401d9a62e$7f6da9a0$7e48fce0$@tranaptic.ca> 2023-06-24 5:01 ` Newlib build fails Brian Inglis 2023-06-25 11:52 ` Hans-Bernhard Bröker @ 2023-10-15 10:23 ` Mike Frysinger 2 siblings, 0 replies; 4+ messages in thread From: Mike Frysinger @ 2023-10-15 10:23 UTC (permalink / raw) To: Keith Clifford; +Cc: newlib [-- Attachment #1: Type: text/plain, Size: 225 bytes --] On 23 Jun 2023 16:57, Keith Clifford wrote: > config-ml.in | 4 ++-- this file is maintained in the gcc tree, so you should send fixes to them. we sync that file to the binutils/gdb/newlib trees after gcc merges fixes. -mike [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 659 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-15 10:23 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <054401d9a62e$7f6da9a0$7e48fce0$@tranaptic.ca> 2023-06-24 5:01 ` Newlib build fails Brian Inglis 2023-06-25 11:52 ` Hans-Bernhard Bröker 2023-06-26 22:00 ` Keith Clifford 2023-10-15 10:23 ` Mike Frysinger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).