From: nicholai <mp...@ch...> - 2000-06-09 10:43:13
|
>does anyone run CVS and GCC on the AmigaOS side here? > I do that to update boothack. It works just fine >I also assume that I can compile kernels for APUS under AmigaOS now - if so , does anyone have hints and tips (and a shell script or command line)that they'd like to throw my way? That's probably possible but I wouldn't recommend it. First of all, it would take forever to compile (even ppc hosted gcc is slow under amigaos) and second you run the risk of all sorts of trouble. Why do you even want to try if you've got linux/ppc running? /Nicholai |
From: Alan B. <al...@ms...> - 2000-06-09 10:50:56
|
hi, > That's probably possible but I wouldn't recommend it. First of all, it would take forever to compile (even ppc hosted gcc is slow under amigaos) and second you run the risk of all sorts of trouble. Why do you even want to try if you've got linux/ppc running? for fun of course! :-) I'd would just be a dual convenience: One single ARexx script to perform 'kernel on demand' service I was thinking of. alan |
From: Sven L. <lu...@dp...> - 2000-06-09 12:52:35
|
On Fri, Jun 09, 2000 at 11:47:29AM +0100, Alan Buxey wrote: > hi, > > > That's probably possible but I wouldn't recommend it. First of all, it would take forever to compile (even ppc hosted gcc is slow under amigaos) and second you run the risk of all sorts of trouble. Why do you even want to try if you've got linux/ppc running? > > for fun of course! :-) I'd would just be a dual convenience: > > One single ARexx script to perform 'kernel on demand' service > I was thinking of. Hello alan, ... if you are on the fun side of things, ... i longly thought that since the ppc-gcc stuff compiled elf binaries, contrary to the warpup stuff, it would be possible to compile an kenrel by the ppc compiler under amigaos. I think the steps needed for it would be to look at the CROSS variable in the Makefiles, and to add there the name of the gcc-ppc compiler, you would have to look around, i don't remeber about it exactly. And then this kernel _should_ be ok to run. Jesper don't believe in it thought, and from his expereince long time ago, it is very slow and memory hungry, ... It can be done though, since Jesper compiled the first apus kernel under amigaos (myself cross compiled under linux from m68k (that is 68040/25MHz) to ppc only, in the times of apus not working for blizzard board). Friendly, Sven LUTHER |
From: Alan B. <al...@ms...> - 2000-06-09 13:18:24
|
hi, > if you are on the fun side of things, ... i longly thought that since the > ppc-gcc stuff compiled elf binaries, contrary to the warpup stuff, it would be > possible to compile an kenrel by the ppc compiler under amigaos. I think the > steps needed for it would be to look at the CROSS variable in the Makefiles, > and to add there the name of the gcc-ppc compiler, you would have to look > around, i don't remeber about it exactly. And then this kernel _should_ be ok > to run. Jesper don't believe in it thought, and from his expereince long time > ago, it is very slow and memory hungry, ... It can be done though, since > Jesper compiled the first apus kernel under amigaos (myself cross compiled > under linux from m68k (that is 68040/25MHz) to ppc only, in the times of apus > not working for blizzard board). :-) does anyone have the variables that need to be changed in the Makefiles? My experience of gcc is really limited to basics - something I aim to change (along with various other things - ie once I've got my PERL stuff I can do this 'kernel on demand' via a PERL scripting) my only thought is that its gcc2.95.2 - and we've had problems under Linux making kernels with this version, correct? alan |
From: Sven L. <lu...@dp...> - 2000-06-09 13:34:04
|
On Fri, Jun 09, 2000 at 02:14:54PM +0100, Alan Buxey wrote: > hi, > > > if you are on the fun side of things, ... i longly thought that since the > > ppc-gcc stuff compiled elf binaries, contrary to the warpup stuff, it would be > > possible to compile an kenrel by the ppc compiler under amigaos. I think the > > steps needed for it would be to look at the CROSS variable in the Makefiles, > > and to add there the name of the gcc-ppc compiler, you would have to look > > around, i don't remeber about it exactly. And then this kernel _should_ be ok > > to run. Jesper don't believe in it thought, and from his expereince long time > > ago, it is very slow and memory hungry, ... It can be done though, since > > Jesper compiled the first apus kernel under amigaos (myself cross compiled > > under linux from m68k (that is 68040/25MHz) to ppc only, in the times of apus > > not working for blizzard board). > > :-) does anyone have the variables that need to be changed in the It is easy, it is just the cross variable and maybe one other, who have to be set to the prefix of the cross compiler and/or the target architecture. Makefile are easy to read, ... and the kernel ones are somewhat documented, ... > Makefiles? My experience of gcc is really limited to basics - something > I aim to change (along with various other things - ie once I've > got my PERL stuff I can do this 'kernel on demand' via a PERL scripting) > > my only thought is that its gcc2.95.2 - and we've had problems under Linux > making kernels with this version, correct? Frist try, then if you pass the first 10 minutes of compilation, you now that the makefile are ok, and that the gcc version is the culprit. But only if you have time for fun stuff. Friendly, Sven LUTHER |
From: Michel <dae...@st...> - 2000-06-11 14:28:31
|
Alan Buxey wrote: > Makefiles? My experience of gcc is really limited to basics - something > I aim to change (along with various other things - ie once I've > got my PERL stuff I can do this 'kernel on demand' via a PERL scripting) Why would you need perl? Shell scripting is very powerful. > my only thought is that its gcc2.95.2 - and we've had problems under Linux > making kernels with this version, correct? No. I've been building kernels with it without major problems so far. That is, I do get occasional '/bin/sh: Text file busy' errors. I then have to copy it to another place, rm it and copy it back. Anyone else encountered that? Could this be a compiler problem? Michel -- I'm so hungry, I could almost eat health food. ______________________________________________________________________________ Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast Debian GNU/Linux (powerpc,i386) user \ member of XFree86, Team *AMIGA*, AUGS |
From: Alan B. <al...@ms...> - 2000-06-12 09:46:10
|
hi, > Why would you need perl? Shell scripting is very powerful. PERL has loads of wonderful modules and a good TCL linkup. > That is, I do get occasional '/bin/sh: Text file busy' errors. I then have to > copy it to another place, rm it and copy it back. Anyone else encountered > that? Could this be a compiler problem? what filesystem are you working with, what kernel revision? alan |
From: Michel <dae...@st...> - 2000-06-12 16:51:33
|
Alan Buxey wrote: > > That is, I do get occasional '/bin/sh: Text file busy' errors. I then have > > to copy it to another place, rm it and copy it back. Anyone else > > encountered that? Could this be a compiler problem? > > what filesystem are you working with, ext2 > what kernel revision? 2.2.10 Michel -- Software is like sex; it's better when it's free -- Linus Torvalds ______________________________________________________________________________ Michel Dänzer /// mda...@ea... __ /// AmigaOS/Linux(Debian/PPC) Student of computer science at the \\\/// Team *AMIGA* ICQ #: 5675698 Swiss Federal Institute of Technology \\\/ AUGS member #163 IRC: CoOpER |
From: Geert U. <ge...@li...> - 2000-06-09 13:40:36
|
On Fri, 9 Jun 2000, Sven LUTHER wrote: > On Fri, Jun 09, 2000 at 11:47:29AM +0100, Alan Buxey wrote: > > > That's probably possible but I wouldn't recommend it. First of all, it would take forever to compile (even ppc hosted gcc is slow under amigaos) and second you run the risk of all sorts of trouble. Why do you even want to try if you've got linux/ppc running? > > > > for fun of course! :-) I'd would just be a dual convenience: > > > > One single ARexx script to perform 'kernel on demand' service > > I was thinking of. > > Hello alan, ... > > if you are on the fun side of things, ... i longly thought that since the > ppc-gcc stuff compiled elf binaries, contrary to the warpup stuff, it would be > possible to compile an kenrel by the ppc compiler under amigaos. I think the It depends... m68k-cbm-amigados-gcc generates a.out binaries, just like m68k-linuxaout-gcc (m68k-cbm-amigados-ld takes care of creating AmigaOS `hunk' executables. But that doesn't mean you can use m68k-linuxaout-gcc to compile AmigaOS programs. Apparently they had to change gcc to allow for the A6 register to be used as the library base register for AmigaOS, while the plain gcc insists on using A6 as the frame pointer (no, -no-frame-pointer didn't help last time I tried). A similar problem may exist with APUS. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: Sven L. <lu...@dp...> - 2000-06-09 13:57:14
|
On Fri, Jun 09, 2000 at 03:37:37PM +0200, Geert Uytterhoeven wrote: > On Fri, 9 Jun 2000, Sven LUTHER wrote: > > On Fri, Jun 09, 2000 at 11:47:29AM +0100, Alan Buxey wrote: > > > > That's probably possible but I wouldn't recommend it. First of all, it would take forever to compile (even ppc hosted gcc is slow under amigaos) and second you run the risk of all sorts of trouble. Why do you even want to try if you've got linux/ppc running? > > > > > > for fun of course! :-) I'd would just be a dual convenience: > > > > > > One single ARexx script to perform 'kernel on demand' service > > > I was thinking of. > > > > Hello alan, ... > > > > if you are on the fun side of things, ... i longly thought that since the > > ppc-gcc stuff compiled elf binaries, contrary to the warpup stuff, it would be > > possible to compile an kenrel by the ppc compiler under amigaos. I think the > > It depends... m68k-cbm-amigados-gcc generates a.out binaries, just like > m68k-linuxaout-gcc (m68k-cbm-amigados-ld takes care of creating AmigaOS `hunk' > executables. But that doesn't mean you can use m68k-linuxaout-gcc to compile > AmigaOS programs. Apparently they had to change gcc to allow for the A6 > register to be used as the library base register for AmigaOS, while the plain > gcc insists on using A6 as the frame pointer (no, -no-frame-pointer didn't help > last time I tried). > > A similar problem may exist with APUS. I think toi remember that : file ppcboot_pup says it is a ppc elf binary. But then maybe they have changed since the warpup guys don't liked elf, ... Friendly, Sven LUTHER |
From: Alan B. <al...@ms...> - 2000-06-09 14:30:44
|
hi, > file ppcboot_pup > > says it is a ppc elf binary. > > But then maybe they have changed since the warpup guys don't liked elf, ... ppcboot_pup is a ppc elf binary. PowerUP uses ELF format ppcboot_wup is an amigaHunk ppc executable (you can turn .elf to AmigaHunk by using elf2hunk2 - so long as the .elf was created with gcc using the -warp flag ) alan |
From: Alan B. <al...@ms...> - 2000-06-09 14:36:13
|
hi, > (you can turn .elf to AmigaHunk by using elf2hunk2 - so long as the > .elf was created with gcc using the -warp flag ) correction! elf2exe2 alan |