Welcome, Guest. Please login or register.

Author Topic: tar errors, gcc errors GG is sending me round the bend!!  (Read 1766 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RodneyTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show only replies by Rodney
    • http://donthaveone.com/
tar errors, gcc errors GG is sending me round the bend!!
« on: April 07, 2003, 02:16:15 PM »
While TRYING to install a few packages of geekgadgets, i've encounted a coupla errors.
1) a file or folders access permission could not be set
This, i assume isnt a large problem, since all the files where untared and so on, i doubt access and modification times are going to make a huge difference.

2) System does not support symlinks
Now, i have no idea if AmigaOS does or doesnt, but i have heard it mentioned in the GG documentation.

I didnt get problem number 2 when installing GCC but for some reason GCC reports that it cant find header filles. Which is funny because the place its looking in, when it reports the errors is the very place the headers are...

Does anyone know if the tar errors are anything to worry about, and wtf is up with gcc?

Also, the GG documentation lists a number or programs it considered for serious GCC dev. It also said somewhere that, many packages depend on others, so i figure gcc isnt work because i havnt got the recommended packages installed. So, i try to find them, only i cant find some packages under alpha/. For eg, GG-misc-bin.tgz

I found it under snapshots/ but not under alpha, and alpha should be the most upto date stuff right?

Anyway, this GG stuff is turing out to be a bit of a pain in the arse... If anyway knows whats happening, or could give me some ideas what gcc depends on, then that'd be great! :)
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.
 

Offline tonyw

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #1 on: April 07, 2003, 03:14:10 PM »
Hi Rodney,

I agree, it's a pain trying to get all the stuff from websites - it's impossible to get a consistent set of progs. I recommend buying the Schatztruhe 3xCD set of "The Amiga Unix Compendium". It has everything on it, although some apps are a little out of date, but you can get later versions from GNU.org and compile them.

Although AmigaOS doesn't support some Linux stuff, it just ignores it and doesn't screw it up either. So if folder permissions are wrong, you can easily change them with "chmod -R 755 xyz". I don't remember getting that error when ratting (that's the opposite of tarring).

As far as symlinks go, the GG distro creates a few - not as many as kaffe or some big progs like that. They appear to AmigaDOS as a directory that doesn't work - can't be opened. Latest AOS apps (like 3.9 stuff) either ignore them or do the right thing, I'm not sure which. Earlier apps (like DirOpus 4) show them as dirs that can't be opened, and screw up when you try to copy them. I haven't found any Amiga-side apps that can correctly copy *nix-style symlinks. So you can't make a copy of the GG: directory tree with AmigaDOS, or a backup, etc. It has to be done with "cp" under GG:

GG is not a fun system. Also, it's an emulator, so you've got AmigaOS running an emulated version of BSD running your program. It's slow. It's easier to install m68k Linux on its own partition, and use that. At least it runs 3-5 times faster (on my 060/50, anyway).

tony
 

Offline cygnusEd

  • Newbie
  • *
  • Join Date: Mar 2003
  • Posts: 10
    • Show only replies by cygnusEd
    • http://www.schwan-clan.de
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #2 on: April 07, 2003, 03:17:48 PM »
Hi Rodney,

a good address for getting information about installing gcc is:

http://x-bapi.x-tech.org/rel/x-bapi-0.2/docs/x-bapi/html/chap.start.install_amigaos.pre.html

It shows the minimal installation.

I've installed the whole snapshot of 99.05.29 and gcc version 2.95.3 from the
alpha-section. Works still fine :-)

Greetings
  CygnusEd
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #3 on: April 07, 2003, 03:38:56 PM »
Quote
Also, it's an emulator, so you've got AmigaOS running an emulated version of BSD running your program.

Excuse me?

Care to elaborate?
 

Offline RodneyTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show only replies by Rodney
    • http://donthaveone.com/
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #4 on: April 08, 2003, 02:13:37 PM »
Quote

cygnusEd wrote:
Hi Rodney,

a good address for getting information about installing gcc is:

http://x-bapi.x-tech.org/rel/x-bapi-0.2/docs/x-bapi/html/chap.start.install_amigaos.pre.html

It shows the minimal installation.

I've installed the whole snapshot of 99.05.29 and gcc version 2.95.3 from the
alpha-section. Works still fine :-)

Greetings
  CygnusEd


Had a look, and i've done pretty much the same.

I've made a directory @ applications:GG and basicly any .tgz file i download i unarchive into this directory. The amigaos include files are keept under os-include/.

Also my user-startup file looks like this:

;Geek Gadget Stuff
Assign GG: Applications:GG
path GG:bin add
Assign bin: GG:bin
Assign GNU: GG:
Assign LIBS: GG:Sys/Libs add

Now as far as i can tell, thats allright... So, i dont know  what i've done wrong. Ill start fresh, and with a diff dist of gcc and see if it makes a different. Plus im currently downloading the 3.9NDK.. I've had installed already NDK_40.lha... Any idea if this is earlier or later? Im guessing NDK3.9 is gunna be the latest release since OS4 ant out yet!

BTW - im installing this under WinUAE, although i wouldnt think would have any sort of impact!
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.
 

Offline Dietmar

  • Full Member
  • ***
  • Join Date: Nov 2002
  • Posts: 220
    • Show only replies by Dietmar
    • http://devplex.awardspace.biz
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #5 on: April 08, 2003, 04:21:49 PM »
Quote
BTW - im installing this under WinUAE, although i wouldnt think would have any sort of impact!


If you have configured WinUAE to use the fast Windows file system (not a hardfile), you will have no support for links and the gcc installation fails. For GoldED's C/C++ mode, I've worked around that problem by duplicating files instead  of using links (just watch out for tar error messages regarding links to find out what is supposed to go where).
 

Offline Leo42

  • Newbie
  • *
  • Join Date: Dec 2002
  • Posts: 44
    • Show only replies by Leo42
    • http://nogfx.free.fr
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #6 on: April 08, 2003, 05:03:30 PM »
Welcome to LINUX World !
 

Offline cygnusEd

  • Newbie
  • *
  • Join Date: Mar 2003
  • Posts: 10
    • Show only replies by cygnusEd
    • http://www.schwan-clan.de
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #7 on: April 08, 2003, 06:32:51 PM »
Hi again,

the installation must be correct.
I think that WinUAE is the problem. :-(

NDK_40.lha should be the OS 3.1 NDK, so NDK3.9.lha is the latest
release.

CU
  CygnusEd
 

Offline RodneyTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show only replies by Rodney
    • http://donthaveone.com/
Re: tar errors, gcc errors GG is sending me round the bend!!
« Reply #8 on: April 09, 2003, 05:12:15 AM »
Quote

Dietmar wrote:

If you have configured WinUAE to use the fast Windows file system (not a hardfile), you will have no support for links and the gcc installation fails. For GoldED's C/C++ mode, I've worked around that problem by duplicating files instead  of using links (just watch out for tar error messages regarding links to find out what is supposed to go where).


Yer i have WinUAE using windows directories instead of the hardfile. Hrmmm, maybe thats what screwing it over? I think i copied some of those files that were symlinks too, but i still get the problems.

For now, i think ill finish downloading another gcc and NDK packages, and see what happens, and if that doesnt work, go to hardfile :}...

Maybe the Harddrives as Directories screws heaps of stuff up? Just not symlinks...? Anyone have any problem with this before?

EDIT: Made a hardfile, formated it, installed BOOT.lha and gcc-2.95.3-4-bin.tgz under GG: <-- which is the new hardfile. I also installed ndk3.9/include/include_h under GG: as "os-include/"

still same old problemos... Maybe its gcc-2.95.3-4-bin.tgz? Maybe i should just go for 2.95.3-bin.tgz? I even noticed, 2.95.1-bin020.tgz which might go a little faster since WinUAE is emulating an 020+fpu?

BTW - the hardfile fixed all those errors or warnings about access and modifcation times not being set, and also the symlinks :) Thanx heaps!!!
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.
 

Offline RodneyTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show only replies by Rodney
    • http://donthaveone.com/
Finally, Gcc is working, but a few questions (was gcc err, tar err etc)
« Reply #9 on: April 17, 2003, 06:00:10 AM »
I finaly got GCC 3.2.2 working on AmigaOS. I think i had to install many applications then i originaly though i did. When i did install binutils, fileutils, ixemul-bin, libnix, amigalib and a few other files, i was getting a different error.... ld couldnt find crt0.o.... I had a look, and sure enough, crt0.o was in GG:lib.

Only, ld was being executed from GG:m68k-amigaos/bin not GG:bin. in GG:m68k-amigaos/lib there was no crt0.o file, so i copied all the *.la *.o and other files (not including folders) to GG:m68k-amigaos/lib and then tried gcc again...

Strange enough, it work... And its slow as a snail but thats a nother matter..

The qestion i have is, why did i have to do this copy? Should these files have already existed in GG:m68k-amigaos/lib ? maybe i unpacked something in the wrong place? But i though everthing had to be unpacked into GG: ? yes? Anyone with some ideas?
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.