Re: [Web Updates & Qoth Q3 2024 4/5] update the cross-gnu compilation page.

2024-10-01 Thread Samuel Thibault
jbra...@dismail.de, le lun. 30 sept. 2024 21:09:29 -0400, a ecrit: > * toolchain/cross-gnu.mdwn: I added an introductory paragraph to > explain the difference between native and cross compilation, and I > linked to Flavio's cross-hurd project. I removed the cross-gnu project >

[Web Updates & Qoth Q3 2024 4/5] update the cross-gnu compilation page.

2024-09-30 Thread jbra...@dismail.de
* toolchain/cross-gnu.mdwn: I added an introductory paragraph to explain the difference between native and cross compilation, and I linked to Flavio's cross-hurd project. I removed the cross-gnu project reference. Does anyone still use that shell script? And I added Sergey's guide

Re: cross-gnu

2013-07-07 Thread Lluís
I had to remove an option from GCC's > configure line. The error is also discussed in [3], and followed the advice > on > its first response: > diff --git a/cross-gnu b/cross-gnu > index 5dc161e..8d6edd5 100755 > --- a/cross-gnu > +++ b/cross-gnu > @@ -119,7 +119,6 @

Re: cross-gnu

2013-07-03 Thread Lluís
Lluís writes: > Not sure this is the right place, so please redirect me if there exists > someplace more appropriate. Ooops, sorry for the repeated messages. I thought they were not arriving. Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the w

cross-gnu (1)

2013-07-03 Thread Lluís
27;s a few bugs I've found along the way: * Using the tarball from [2], I had to remove an option from GCC's configure. The error is also discussed in [3], and followed the advice on its first response: diff --git a/cross-gnu b/cross-gnu index 5dc161e..8d6edd5 100755 --- a/cross-gnu

cross-gnu

2013-07-03 Thread Lluís
configure line. The error is also discussed in [3], and followed the advice on its first response: diff --git a/cross-gnu b/cross-gnu index 5dc161e..8d6edd5 100755 --- a/cross-gnu +++ b/cross-gnu @@ -119,7 +119,6 @@ if "$TARGET"-gcc --version > /dev/null 2>&1; then :; else

cross-gnu

2013-07-03 Thread Lluís
The error is also discussed in [3], and followed the advice on its first response: diff --git a/cross-gnu b/cross-gnu index 5dc161e..8d6edd5 100755 --- a/cross-gnu +++ b/cross-gnu @@ -119,7 +119,6 @@ if "$TARGET"-gcc --version > /dev/null 2>&1; then :; else # deactivated, as t

Cross-GNU toolchain in Nixpkgs

2010-05-24 Thread Ludovic Courtès
Hello! With the Nix package manager [0], one can now use the cross-GNU toolchain available in Nixpkgs [1] to cross-build packages from GNU/Linux to GNU. It uses GCC 4.5.0 and recent Hurd/Mach snapshots. With Nix each package is installed in a prefix of its own, which led to interesting problems

Re: cross-gnu revived

2010-04-13 Thread Samuel Thibault
Ludovic Courtès, le Tue 13 Apr 2010 09:51:04 +0200, a écrit : > However, to begin with, would it be possible to skip the > cross-compilation phase of MIG/Mach/Hurd and instead compile glibc, > Binutils, etc., with just the header files that would normally be > installed by Mach/Hurd? Or maybe that

Re: cross-gnu revived

2010-04-13 Thread Ludovic Courtès
Hello, Thomas Schwinge writes: > This is just to tell you that cross-gnu is back alive. See > <http://www.gnu.org/software/hurd/hurd/building/cross-compiling.html>. [...] > Seriously, there is a Grand Plan of evolving this into a complete > regression testing system: use t

cross-gnu revived

2010-04-12 Thread Thomas Schwinge
Hello! This is just to tell you that cross-gnu is back alive. See <http://www.gnu.org/software/hurd/hurd/building/cross-compiling.html>. Next is C++ support, integrating futher glibc / GCC stuff from my various scattered repositoreis, as well as the Debian ones. (Also pushing bit

Re: cross-gnu toolchain GCC 4.2

2007-12-20 Thread Thomas Schwinge
Hello! On Thu, Dec 20, 2007 at 12:20:43PM +0530, Shakthi Kannan wrote: > - On Dec 20, 2007 2:54 AM, Thomas Schwinge <[EMAIL PROTECTED]> wrote: > | What > | does a ``cd $GCC_SRC/ && svn diff'' tell? Does the output look like my > | patch file? > \-- > > I enter into root/src/gcc and do svn di

Re: cross-gnu toolchain GCC 4.2

2007-12-20 Thread Shakthi Kannan
Hi, - On 12/20/07, Shakthi Kannan <[EMAIL PROTECTED]> wrote: | I enter into root/src/gcc and do svn diff and it doesn't return | anything. \-- Yes, the patch is not getting applied. "apply_gcc_patches" doesn't work in the Makefile. Anyways, I wrote the Makefile to get an understanding of the

Re: cross-gnu toolchain GCC 4.2

2007-12-19 Thread Shakthi Kannan
Hi, - On Dec 20, 2007 2:54 AM, Thomas Schwinge <[EMAIL PROTECTED]> wrote: | What | does a ``cd $GCC_SRC/ && svn diff'' tell? Does the output look like my | patch file? \-- I enter into root/src/gcc and do svn diff and it doesn't return anything. I am using Debian Etch on x86. SK -- Shakth

Re: cross-gnu toolchain GCC 4.2

2007-12-19 Thread Thomas Schwinge
Hello! On Tue, Dec 18, 2007 at 08:40:51PM +0530, Shakthi Kannan wrote: > The gcc 4.2 patch gets applied I'm not so sure about that, because... > /home/foo/root/src/gcc/gcc/builtins.def:177: error: 'OPTION_GLIBC' > undeclared (first use in this function) ... this is exactly how it fails if the p

cross-gnu toolchain GCC 4.2

2007-12-18 Thread Shakthi Kannan
Hi, I am trying to build the toolchain for Hurd with gcc 4.2 sources. Here is the customized Makefile. http://shakthimaan.com/downloads/hurd/toolchain/Makefile-gcc-4-2.txt The gcc 4.2 patch gets applied, but, it fails at: === BEGIN OUTPUT === In file included from /home/foo/root/src/gcc/gcc/c-c

Re: cross-gnu

2007-12-11 Thread Stefan Siegl
Hello Thomas, On Tue, Dec 11, 2007 at 01:10:13PM +0100, Thomas Schwinge wrote: > On Tue, Dec 11, 2007 at 02:12:48AM +0100, I wrote: > > Building the cross glibc and stuff with GCC 4.3 worked, but > > I did not yet test the result. > > I just did some light testing. lib{triv,net,disk}fs seems to

Re: cross-gnu

2007-12-11 Thread Thomas Schwinge
Hello! On Tue, Dec 11, 2007 at 02:12:48AM +0100, I wrote: > Building the cross glibc and stuff with GCC 4.3 worked, but > I did not yet test the result. I just did some light testing. lib{triv,net,disk}fs seems to work, as well as ext2fs.static, ext2fs and mach-defpager. What doesn't work is pf

Re: cross-gnu

2007-12-10 Thread Thomas Schwinge
Hello! On Sat, Nov 17, 2007 at 02:55:56PM +0100, I wrote: > On Sat, Nov 17, 2007 at 01:08:18AM +0100, I wrote: > > On Tue, Oct 30, 2007 at 01:17:05PM +0100, I wrote: > > > During the next days I'll try to come up with a repository containing the > > > needed patches so that recent versions of GCC

Re: cross-gnu fails

2007-12-08 Thread Thomas Schwinge
Hello! On Fri, Dec 07, 2007 at 06:54:53PM +, Ashish Gokhale wrote: > I am trying to run cross-gnu script, it fails at.. > > i586-pc-gnu-ar: creating libpthread_pic.a > ++ make prefix=/hurd/sys_root libihash-install > libpthread-install > /usr/bin/install: cannot stat

Re: cross-gnu : mawk syntax error

2007-12-08 Thread Thomas Schwinge
hat it wants to have gawk installed instead of mawk. As Ivan Shmakov already suggested, it may work if you do a ``AWK=gawk && export AWK'' before running `cross-gnu', having gawk installed, of course. If you confirm that this works, I can add it to the `cross-gnu-env' she

cross-gnu fails

2007-12-07 Thread Ashish Gokhale
hi, I am trying to run cross-gnu script, it fails at.. i586-pc-gnu-ar: creating libpthread_pic.a ++ make prefix=/hurd/sys_root libihash-install libpthread-install /usr/bin/install: cannot stat `/hurd/src/hurd/libpthread/libpthread.a': No such file or directory make[1]: *** [/hurd/sys_roo

Re: cross-gnu : mawk syntax error

2007-12-07 Thread Ashish Gokhale
7 3:18:40 PM Subject: Re: cross-gnu : mawk syntax error >>>>> "AG" == Ashish Gokhale <<[EMAIL PROTECTED]> > writes: [Speaking totally out of my mind.] AG> I am trying to compile the Hurd system for some time now & seem to AG> run int

Re: cross-gnu : mawk syntax error

2007-12-07 Thread Ivan Shmakov
> "AG" == Ashish Gokhale <<[EMAIL PROTECTED]> > writes: [Speaking totally out of my mind.] AG> I am trying to compile the Hurd system for some time now & seem to AG> run into problems. I am receiving syntax error for mawk as follows: [...] It may be due to use of some GNU

Re: cross-gnu : mawk syntax error

2007-12-06 Thread Shakthi Kannan
Hi, - On Dec 6, 2007 11:25 PM, Ashish Gokhale <[EMAIL PROTECTED]> wrote: | I am trying to compile the Hurd system for some time \-- 1. How? 2. On which system? SK -- Shakthi Kannan http://www.shakthimaan.com ___ Bug-hurd mailing list Bug-hurd@

cross-gnu : mawk syntax error

2007-12-06 Thread Ashish Gokhale
Hi, I am trying to compile the Hurd system for some time now & seem to run into problems. I am receiving syntax error for mawk as follows: --- mawk -f scripts/gen-sorted.awk \ -v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs

Re: cross-gnu

2007-11-26 Thread Shakthi Kannan
Hi, - On Nov 25, 2007 9:22 PM, Thomas Schwinge <[EMAIL PROTECTED]> wrote: | This routinely fails because of some paths being hard-coded (inside the | cross compiler, for example). But I recently read somewhere -- with half | an eye only -- that relocatable GCCs can indeed be built. So, what

Re: Wiki (was: cross-gnu)

2007-11-25 Thread Shakthi Kannan
Hi, - On 11/25/07, Thomas Schwinge <[EMAIL PROTECTED]> wrote: | Please DO NOT stick raw files into wiki pages! Put them online somewhere | and then send a link to <[EMAIL PROTECTED]> or privately to me. Then I | (or some other webmaster) will decide where to put them up. \-- Ok. I didn't kn

Re: cross-gnu

2007-11-25 Thread Shakthi Kannan
Hi, - On 11/25/07, Thomas Schwinge <[EMAIL PROTECTED]> wrote: | As I write on | : ``The | sources are rooted in `binutils-2_18-branch/src/'.'' \-- I have sorted the path accordingly in the Makefile. - | from the built toolcha

Re: cross-gnu

2007-11-25 Thread Thomas Schwinge
Hello! | maybe it will be nice to get a tarball of the built toolchain, | easy to distribute, compile and test? This routinely fails because of some paths being hard-coded (inside the cross compiler, for example). But I recently read somewhere -- with half an eye only -- that relocatable GCCs

Re: cross-gnu

2007-11-25 Thread Thomas Schwinge
oot/src/gnumach > /mig > /hurd > /binutils > /gcc > /glibc > > Some clarifications: > > 1. cvs check-out of binutils has all sources in src/ dir

Wiki (was: cross-gnu)

2007-11-25 Thread Thomas Schwinge
Hello! On Sat, Nov 24, 2007 at 09:25:35PM +0530, Shakthi Kannan wrote: > I have written a Makefile to automate the toolchain build process. Thanks! I've been considering to replace the `cross-gnu' shell script by a Makefile, but so far found no compelling reason to do so. I will h

Re: cross-gnu

2007-11-24 Thread Shakthi Kannan
Hi, I have written a Makefile to automate the toolchain build process. It has been updated to the wiki site: http://www.bddebian.com/~wiki/hurd/building/cross-compiling/ Just do "make" to build the toolchain. You will require an Internet connection, and 1.5 GB of hard-disk space. Feedback welco

Re: cross-gnu

2007-11-23 Thread Shakthi Kannan
src/gnumach /mig /hurd /binutils /gcc /glibc Some clarifications: 1. cvs check-out of binutils has all sources in src/ directory. But, cross-gnu looks at binutils/configure scrip

Re: cross-gnu

2007-11-19 Thread Thomas Schwinge
Hello! Be sure to apply this recently added patch, , to your glibc source tree. On Sat, Nov 17, 2007 at 01:12:09AM +0100, I wrote: > Ah, and if `configure' files are missing in the sour

Re: cross-gnu

2007-11-17 Thread Thomas Schwinge
Hello! On Sat, Nov 17, 2007 at 01:08:18AM +0100, I wrote: > On Tue, Oct 30, 2007 at 01:17:05PM +0100, I wrote: > > During the next days I'll try to come up with a repository containing the > > needed patches so that recent versions of GCC and glibc can be used. > > Finally. Turns out that patchi

Re: cross-gnu

2007-11-16 Thread Thomas Schwinge
t; ``waste'', then please test and report back. I forgot: I also did changes to `cross-gnu-env' and `cross-gnu', so be sure to get updated versions of those! (I'll stick them into some publically accessible RCS sooner or later.) Ah, and if `configure' files are mi

cross-gnu (was: Build Hurd toolchain)

2007-11-16 Thread Thomas Schwinge
Hello! On Tue, Oct 30, 2007 at 01:17:05PM +0100, I wrote: > During the next days I'll try to come up with a repository containing the > needed patches so that recent versions of GCC and glibc can be used. Finally. Turns out that patching is only needed if using GCC 4.2. So we'll simply use GCC