10 May 2017, 11:22 | #1 | ||
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
compiling instructions for aros68k
by request from here:
http://eab.abime.net/showthread.php?t=84430&page=18 i am opening a separate thread for those interested about how to get aros compile and run either under uae or on an amiga. if you want to check it out via svn, there is full instructions to do so on aros portal. namely here: http://aros.sourceforge.net/document.../compiling.php scroll down the page: Quote:
--target=amiga-m68k --with-serial-debug (if you want serial debug) --enable-debug (if you want debug symbols compiled in) --with-portssources=.. (if you want contributed archives and toolchain sources stored locally instead downloading them anew) --with-gcc-version=6.3.0 --with-binutils-version=2.25 (if you want the neweat toolchain) and then simply.. Quote:
|
||
10 May 2017, 12:02 | #2 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Thanks wawa!
Some addendum: if you prefer GIT there is Jason repository mirror at: https://github.com/ezrec/AROS-mirror then you can clone in ./AROS If you prefer to make separate cross compiler toolchain (like me), in your work dir (that can be even ~) you need to: - mkdir AROS-build (where aros-m68k will be build) - mkdir m68k-aros-build (where cross compiler toolchain will be built) - cd m68k-aros-build - ../AROS/configure --target=amiga-m68k --with-aros-toolchain-install=/opt/m68k-aros [plus all the wawa explained options] - make -s crosstools - cd ../AROS-build/ - ../AROS/configure --target=amiga-m68k --with-aros-toolchain-install=/opt/m68k-aros --with-aros-toolchain=yes [--enable-debug --with-serial-debug=yes] - make [-s] (in /opt/m68k-aros lies the toolchain) (in ~/AROS-build all the goodies) Cheers, ross Last edited by ross; 10 May 2017 at 12:31. Reason: [optional] |
10 May 2017, 12:08 | #3 |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,176
|
That really does look pretty painless, including build scripts for the required cross compiler toolchain is a very nice touch.
I'll give it a go once i have some free time. |
10 May 2017, 13:11 | #4 | |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
Quote:
http://www.amigaforum.de/index.php?t....msg200#msg200 i have not done separate toolchain build since a while and im not sure if i would advise it. best is to keep up to the whole amount of changes at once and the toolchain elements or sdk also get updated constantly, not only the aros code as such. my practice is to check out aros into the homedir like that: /AROS-source/AROS/contribs and then create directories for parallel builds on the same level, labelled like aros-m68k-630 or aros-x86-464 in order to test and work on different platforms and compilers in parallel from the same source. you simply need to keep in mind to reconfigure. other than that i put a local potrssources dir on the same level to conserve time and bandwidth. |
|
10 May 2017, 13:19 | #5 | |||||
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
it is painless, for the most part. you can even compile module for module, library for library or directory for directory. all you need to, is to go and look at local mmakefile.src in the sources you are interetsed in and identify
a module name. for instance, to compile png.library you go to Quote:
Quote:
Quote:
if you have dependencies built already you can Quote:
if you now want all libraries to be built or rebuilt, assuming you might have done some changes you want to test, you simply go level up: Quote:
|
|||||
10 May 2017, 14:42 | #6 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
10 May 2017, 18:26 | #7 | |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,176
|
Small catch, the SVN repo doesn't have Anonymous read only access... (wth..)
Quote:
|
|
10 May 2017, 18:49 | #8 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
are you sure? ;O
where have you seen it? i doubt amigainc is being currently in position of requesting anything like that. it must be an old notice, i believe to remember when anon access has been enabled. |
10 May 2017, 18:56 | #9 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
10 May 2017, 19:26 | #10 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
|
10 May 2017, 19:44 | #11 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
cygwin compilation --with-gcc-version=6.3.0 --with-binutils-version=2.25
no errors |
10 May 2017, 23:14 | #12 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
you might check out contribs and ports
|
12 May 2017, 21:23 | #13 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
in case anyone tries to boot aros on an amiga to date there has been some issues lately. toni has commited some fixes but one yet remains to be researched.
also kalamatee added some checks for proper rom sizes and some changes that look like will enable us to properly use gdb with the debug builds. so stand by. |
12 May 2017, 23:16 | #14 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
I had noticed that the main ROM was almost full (up to $fffd00). Maybe code fit thanks to GCC6.3.0 compile? [EDIT: sorry, read in a hurry.. WinUAE used] [EDIT2: tested with a Blizzard -> no boot] ross Last edited by ross; 12 May 2017 at 23:34. Reason: ops... |
|
13 May 2017, 01:44 | #15 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
aros boots on my a1200 with blizzard1260/16mb.
however there is still crash while AddUSBClasses. one could comment it out in the s-s, i dont have any usb hardware there, let alone if the stack was even woking for now. but im giving it a shot to debug, since toni beats me to it. edit: looks like i found it. Last edited by wawa; 13 May 2017 at 01:56. |
14 May 2017, 16:36 | #16 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
14 May 2017, 17:23 | #17 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
|
14 May 2017, 17:55 | #18 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
Can be previously my bad, but today AROS and Blizzard agree Bye, ross |
|
14 May 2017, 18:15 | #19 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
AddUSBClasses crash is compiler bug, Blizzard arosbootstrap crash was rom image memory allocation problem (54665/54666), which worked accidentally with older compiler.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ARos68k RTG driver for OS 3.x | _WB_ | request.UAE Wishlist | 1 | 09 October 2016 11:42 |
AROS68k: what is needed to run on real hardware? | Amiga1992 | support.Apps | 9 | 11 December 2015 02:57 |
Help debugging differences and problems between aos and aros68k | wawa | Coders. System | 1 | 23 April 2014 21:04 |
Weird instructions | absence | Coders. General | 4 | 12 October 2009 16:54 |
Instructions? | Daz | support.Hardware | 8 | 12 July 2002 20:29 |
|
|