Re: Compiling for old system
David Brown <[email protected]> Fri, 28 May 2021 18:56:47 +0200
| Newsgroups | gmane.comp.gcc.cross-compiling |
|---|---|
| Message-ID | <[email protected]> |
On 27/05/2021 23:03, Davide Viti via crossgcc wrote: > Hi, > I'm trying to create a toolchain targeting an old powerpc system running > kernel 2.6.18 and libc 2.5. The toolchain has to be used on a windows > machine. > > I've tried different combinations on Linux and ctng 1.5.2 fits all my needs. > I've then tried to build the same on Windows, using cygwin, but compilation > fails at "Installing shared core C compiler" [1] > The config is available at [2] > > The compilation process on cygwin is extremely slow: I've managed to enable > the experimental feature and restart the build from the last failure, but > it still i very slow, especially if compared with Linux builds: I've tried > to do a canadian cross, but it's too much for my newbie skills: if anyone > would be willing to give me some advices, It'd be great to do that! > > thank you in advance > > Davide > > [1] https://pastebin.com/BBrFVt4e > [2] https://pastebin.com/jJmMzm9m As an alternative to Cygwin, you could try msys2 / mingw-64. My experience is that this can often be a lot faster than Cygwin, and creates stand-alone programs that feel less "alien" in Windows. However, it has limitations if you need more accurate POSIX emulation, such as for fork() calls. It's worth trying. You could also install VirtualBox and run the Linux system within a virtual machine, on the Windows host, if you can't escape from using Windows on the actual PC. -- For unsubscribe information see http://sourceware.org/lists.html#faq