Headlines
roguefootballcardgame.lha - game/card
Dec 6, 2024
processactionreply.lha - game/utility
Dec 4, 2024
litexl.lha - utility/text/edit
Dec 4, 2024
amiarcadia.lha - emulation/gamesystem
Dec 2, 2024
mgba.lha - emulation/gamesystem
Dec 1, 2024
jfduke3d.lha - game/fps
Dec 1, 2024
prboom-plus.lha - game/fps
Dec 1, 2024
iff-converter.lha - graphics/convert
Dec 1, 2024
flashmandelng.lha - graphics/misc
Dec 1, 2024
mce.lha - game/utility
Nov 27, 2024
Topic options
View mode
Newest First
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/21 13:35
#101
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@MickJT "you should only have to create /usr/local/amiga, and not any adtools directory inside that. Then, a directory symlink called "adtools" can be made there pointing to the original location." Ah, interesting. But if i don't create the inner directory /usr/local/amiga/adtools i can't execute the command: sudo mkdir /usr/local/amiga sudo chown <your-uwin-username>:users /usr/local/amiga sudo chown <your-uwin-username>:users /usr/local/amiga/adtools it gives me an error.
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/21 14:17
#102
Home away from home
Joined: 2006/12/4 23:15Last Login
: 2024/12/5 12:41
Group:
Registered Users
@AmigaBlitter
Quote:
But if i don't create the inner directory /usr/local/amiga/adtools i can't execute the command: sudo mkdir /usr/local/amiga sudo chown <your-uwin-username>:users /usr/local/amiga sudo chown <your-uwin-username>:users /usr/local/amiga/adtoolsWell it would because you haven't got a "/usr/local/amiga/adtools" until after you create the link.
sudo mkdir / usr / local / amiga
sudo ln - s / usr / local / amiga / adtools - ppc - uwin64 - 20170623 - 404 / usr / local / amiga / adtools
sudo chown < your - uwin - username >: users / usr / local / amiga
sudo chown < your - uwin - username >: users / usr / local / amiga / adtools
Would be error free.
But before go down that route and try and redo that list /usr/local/amiga to see what is really there, if you have directory or a link.
ie do
ls -l /usr/local/amiga
then see if you can list /usr/local/amiga/adtools itself and see if it contains what you expect.
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/22 18:25
#103
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@broadblues sudo chown amidev:users /usr/local/amiga/adtools chown: cannot dereference '/usr/local/amiga/adtools': No such file or directory the directory must exist before chown
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/22 19:29
#104
Just can't stay away
Joined: 2009/4/28 4:57Last Login
: Yesterday 5:22
From Adelaide, Australia
Group:
Registered Users
My guess is that being a symlink, it'd be inheriting the permissions from the real location, and if you want to change the ownership, you need to change it at that location.
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/22 23:38
#105
Home away from home
Joined: 2006/12/4 23:15Last Login
: 2024/12/5 12:41
Group:
Registered Users
@amigablitter
Quote:
sudo chown amidev:users /usr/local/amiga/adtools chown: cannot dereference '/usr/local/amiga/adtools': No such file or directory the directory must exist before chownNo you misinterpret the error there, it saying it can't derefence the link /usr/local/amiga/adtools, not that link doesn't exist
This means the target of the link is broken. If you have colour enabled and you list the /usr/local/amiga/adtools with
ls -l /usr/local/amiga/adtools
it will likely show in black and red reverse field to show a broken link.
Either you mistyped the target or the target does not exist.
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/24 7:52
#106
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@broadblues
I tried this the way you've suggested:
Quote:
sudo mkdir /usr/local/amiga sudo ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga/adtools sudo chown <your-uwin-username>:users /usr/local/amiga sudo chown <your-uwin-username>:users /usr/local/amiga/adtools In this case compilation line fails.
If i first create the directories and then i issue the command: ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga
the compilation goes OK, but the wrong compiler is picked.
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/24 12:59
#107
Home away from home
Joined: 2006/12/4 23:15Last Login
: 2024/12/5 12:41
Group:
Registered Users
@AmigaBlitter
Quote:
In this case compilation line fails. If i first create the directories and then i issue the command: ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga the compilation goes OK, but the wrong compiler is picked.Which compilation line?
And note that should be
ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga/adtools
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/24 13:00
#108
Just can't stay away
Joined: 2009/4/28 4:57Last Login
: Yesterday 5:22
From Adelaide, Australia
Group:
Registered Users
@AmigaBlitter
Quote:
If i first create the directories and then i issue the command: ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga Whoa hold on here. That would make "amiga" inside /usr/local, point to "/usr/local/amiga/adtools-ppc-uwin64-20170623-404".
That's impossible, because you're asking it to make a link "amiga" in /usr/local, called "amiga", to a directory inside /usr/local/amiga.
Whenever you're using "ln -s" you need to make sure the target link does not already exist as a real directory.
Take a look at broadblues line again:
sudo ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga/adtools
That's saying make a link (fake directory) called "adtools" inside "/usr/local/amiga", that points to the real directory /usr/local/amiga/adtools-ppc-uwin64-20170623-404
That should work fine so long as "adtools" doesn't exist in /usr/local/amiga at the time you run the "ln -s" command.
It might be worthwhile uploading your ~/.bashrc and we can take a look (make sure it's the one in ~/ and not anywhere else).
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/24 21:08
#109
Just popping in
Joined: 2017/8/8 21:17Last Login
: 2019/12/27 16:50
From Canada
Group:
Registered Users
It may be that you need to execute: sudo ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga/adtools to create the "adtools" symlink only after the toolchain build process has completed; just to ensure the top-level adtools-ppc-... directory has been created.
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/24 21:35
#110
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@broadblues Sorry, i mean: sudo ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga/adtools The compile line is the: make -C native-build gcc-cross CROSS_PREFIX=/usr/local/amiga/adtools-ppc-uwin64-20170623-404 Can't post the exact error , i uninstalled the enviroment... but i think i can replicate it. Thank you all
Edited by AmigaBlitter on 2017/11/28 18:43:42
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/27 18:43
#111
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@stonecracker
Please check if this is ok:
ls - hal / usr / local / amiga / adtools / bin
total 37M
drwxr - xr - x 0 root root 512 Nov 25 20 : 03 .
drwxr - xr - x 0 root root 512 Nov 25 20 : 47 ..
- rwxr - xr - x 1 root root 1.1M Nov 25 19 : 26 ppc - amigaos - addr2line
- rwxr - xr - x 2 root root 1.1M Nov 25 19 : 26 ppc - amigaos - ar
- rwxr - xr - x 2 root root 1.6M Nov 25 19 : 26 ppc - amigaos -as
- rwxr - xr - x 2 root root 3.1M Nov 25 20 : 03 ppc - amigaos - c ++
- rwxr - xr - x 1 root root 1.1M Nov 25 19 : 26 ppc - amigaos - c ++ filt
- rwxr - xr - x 1 root root 3.1M Nov 25 20 : 03 ppc - amigaos - cpp
- rwxr - xr - x 1 root root 38K Nov 25 19 : 26 ppc - amigaos - elfedit
- rwxr - xr - x 2 root root 3.1M Nov 25 20 : 03 ppc - amigaos - g ++
- rwxr - xr - x 2 root root 3.1M Nov 25 20 : 03 ppc - amigaos - gcc
- rwxr - xr - x 2 root root 3.1M Nov 25 20 : 03 ppc - amigaos - gcc - 5.4.0
- rwxr - xr - x 1 root root 148K Nov 25 20 : 03 ppc - amigaos - gcc - ar
- rwxr - xr - x 1 root root 148K Nov 25 20 : 03 ppc - amigaos - gcc - nm
- rwxr - xr - x 1 root root 148K Nov 25 20 : 03 ppc - amigaos - gcc - ranlib
- rwxr - xr - x 1 root root 2.0M Nov 25 20 : 03 ppc - amigaos - gcov
- rwxr - xr - x 1 root root 2.0M Nov 25 20 : 03 ppc - amigaos - gcov - tool
- rwxr - xr - x 1 root root 1.1M Nov 25 19 : 26 ppc - amigaos - gprof
- rwxr - xr - x 4 root root 1.4M Nov 25 19 : 26 ppc - amigaos - ld
- rwxr - xr - x 4 root root 1.4M Nov 25 19 : 26 ppc - amigaos - ld . bfd
- rwxr - xr - x 2 root root 1.1M Nov 25 19 : 26 ppc - amigaos - nm
- rwxr - xr - x 2 root root 1.3M Nov 25 19 : 26 ppc - amigaos - objcopy
- rwxr - xr - x 2 root root 1.6M Nov 25 19 : 26 ppc - amigaos - objdump
- rwxr - xr - x 2 root root 1.1M Nov 25 19 : 26 ppc - amigaos - ranlib
- rwxr - xr - x 1 root root 481K Nov 25 19 : 26 ppc - amigaos - readelf
- rwxr - xr - x 1 root root 1.1M Nov 25 19 : 26 ppc - amigaos - size
- rwxr - xr - x 1 root root 1.1M Nov 25 19 : 26 ppc - amigaos - strings
- rwxr - xr - x 2 root root 1.3M Nov 25 19 : 26 ppc - amigaos - strip
ls - hal / usr / local / amiga
total 0
drwxr - xr - x 0 amidev users 512 Nov 25 20 : 07 .
drwxr - xr - x 0 root root 512 Nov 24 23 : 25 ..
lrwxrwxrwx 1 root root 48 Nov 25 20 : 07 adtools -> / usr / local / amiga / adtools - ppc - uwin64 - 20170623 - 404
drwxr - xr - x 0 root root 512 Nov 25 20 : 47 adtools - ppc - uwin64 - 20170623 - 404
ls - hal / usr / local / amiga / adtools
lrwxrwxrwx 1 root root 48 Nov 25 20 : 07 / usr / local / amiga / adtools -> / usr / local / amiga / adtools - ppc - uwin64 - 20170623 - 404
ls - hal / usr / local / amiga / adtools - ppc - uwin64 -
20170623 - 404
total 0
drwxr - xr - x 0 root root 512 Nov 25 20 : 47 .
drwxr - xr - x 0 amidev users 512 Nov 25 20 : 07 ..
lrwxrwxrwx 1 root root 47 Nov 25 20 : 46 adtools - ppc - cyg64 - 20170623 - 404 -> / usr / local / amiga / adtools - ppc - cyg64 - 20170623 - 404
lrwxrwxrwx 1 root root 48 Nov 25 20 : 47 adtools - ppc - uwin64 - 20170623 - 404 -> / usr / local / amiga / adtools - ppc - uwin64 - 20170623 - 404
drwxr - xr - x 0 root root 512 Nov 25 20 : 03 bin
drwxr - xr - x 0 root root 512 Nov 25 20 : 03 include
drwxr - xr - x 0 root root 512 Nov 25 20 : 03 lib
drwxr - xr - x 0 root root 512 Nov 25 20 : 03 libexec
drwxr - xr - x 0 root root 512 Nov 25 20 : 03 ppc - amigaos
drwxr - xr - x 0 root root 512 Nov 25 20 : 04 share
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/11/28 19:16
#112
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@stonecracker
about the erroneously added:
lrwxrwxrwx 1 root root 47 Nov 25 20 : 46 adtools - ppc - cyg64 - 20170623 - 404 -> / usr / local / amiga / adtools - ppc - cyg64 - 20170623 - 404
i already unlinked it
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/3 13:35
#113
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@thread Anyone else successfully installed the UWin enviroment. I would like to compare the PATH and some other settings.
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/3 22:32
#114
Home away from home
Joined: 2007/1/26 21:48Last Login
: 11/22 14:15
From New Zealand
Group:
Registered Users
@AmigaBlitter
Did you try my suggestion in
this post ? I get the feeling that one got buried too quickly and might have been missed. The Skype entry in PATH has space characters in it, and precedes your adtools entries. We already know that GCC build tools can have trouble with spaces in paths, so it's entirely possible that those spaces are confusing the configuration script.
Hans
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/4 8:11
#115
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@Hans Thank you, Hans. I will try as you suggested.
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/5 12:26
#116
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@Hans
tried, same results
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/6 10:04
#117
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@stonecracker post #1 from stonecracker: export PATH=$PATH:~/adtools/bin:/usr/local/amiga/adtools/bin DStastny @ post #6 export PATH=$PATH:~/adtools/bin:/usr/local/amiga/adtools-ppc-uwin-20170623-404/bin (which in my case should be: export PATH=$PATH:~/adtools/bin:/usr/local/amiga/adtools-ppc-uwin64-20170623-404/bin) which one should be added, the first, the second or both?
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/6 16:10
#118
Just can't stay away
Joined: 2009/4/28 4:57Last Login
: Yesterday 5:22
From Adelaide, Australia
Group:
Registered Users
I logged into AmigaBlitter's computer remotely and fixed it up.
It all seemed to be related to file permissions. If you use sudo in places where it's not needed, it might extract or copy files fine but with root permissions only. A few uses of chown and chmod here and there and it's all sorted :)
One thing that's interesting with the "Windows Subsystem for Linux" (isn't that backwards?) is that although I could see the directory structure in %LOCALAPPDATA%\lxss, anything I copied in the seemingly correct locations were not visible in the bash terminal. Copying the files from /mnt/c using the bash terminal worked fine.
Relevant:
https://superuser.com/questions/108396 ... g-files-outside-of-ubuntu https://blogs.msdn.microsoft.com/comma ... g-windows-apps-and-tools/ https://blogs.msdn.microsoft.com/wsl/2 ... /wsl-file-system-support/
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/6 19:05
#119
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@MickJT I big thank you to Michael, really. Realized at least that installation worked. The problem, as Michael said, was related to permission. Michael is a Guru (that meditates) on everything related configurations, libraries and so on... Thank you again
Retired
Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Posted on:
2017/12/7 0:43
#120
Home away from home
Joined: 2007/1/26 21:48Last Login
: 11/22 14:15
From New Zealand
Group:
Registered Users
@MickJT Yay! Nicely done. Really glad that it's finally solved. Hans
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)