05 August 2018, 18:09 | #901 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,360
|
Yeah. I'll adapt my engine to use non-SDL graphics & sounds. I'll keep the event stuff, as it is probably not very CPU hungry.
|
05 August 2018, 18:27 | #902 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
18 August 2018, 20:46 | #903 |
Registered User
Join Date: Aug 2018
Location: canada
Posts: 6
|
Hello guys, i have an invalid constraint in asm error with this code. If someone has information it will be appreciated, thanks!
INLINE u32 castToU32(float x) { u32 value; __asm ("fmove%.l %1,%0" : "=d" (value) : "f" (x)); return value; } |
18 August 2018, 21:29 | #904 |
Registered User
Join Date: Aug 2018
Location: canada
Posts: 6
|
I forgot to mention i use -68060 flag and this code worked in old 3.4 gcc version.
|
19 August 2018, 00:22 | #905 |
Registered User
Join Date: Aug 2018
Location: canada
Posts: 6
|
-mhard-float did the job!
|
19 August 2018, 09:32 | #906 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,360
|
good for you! -mhard-float should always be used because the alternative is soft float which is slow as hell, specially if you have a 68060 it makes no sense (unless you want exactly the same results like on a 68000)
|
21 August 2018, 07:39 | #907 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
|
Hi I've got a fresh install of lubuntu 64bit installed as a virtual machine and thought I'd give this a go, can someone help me install it?
Is this info still current and does it apply to my setup? https://github.com/bebbo/amiga-gcc Prerequisites sudo apt install make git gcc g++ lhasa libgmp-dev libmpfr-dev libmpc-dev flex gettext texinfo How to Clone and Download All You Need git clone https://github.com/bebbo/amiga-gcc cd amiga-gcc make update I'd also like to get CDT running on lubuntu if possible using this build of gcc. I'm still learning Linux BTW (more of a Windows user) Thanx Last edited by NovaCoder; 21 August 2018 at 08:17. |
21 August 2018, 09:46 | #908 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 676
|
Just check out the Amiga-gcc repository,
Then make all all-sdk -j8 PREFIX=<path to where you want the toolchain> E voila! It‘ll download some extra sdk‘s and build the whole toolchain (with newlib, clib2 and noixemul all installed in parallel) all in one go. The binaries to compiler, linker, assembler will be found under <yourprefixpath>/bin and you should add them to your path. The toolchain comes with a bunch of essential libs (like ahi, cgx, sdl and the AmigaOS 3.0 and 1.3 sdks), so you can get off the ground very quickly. |
23 August 2018, 01:07 | #909 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
|
Thanks for the that, I'll give it a try
|
23 August 2018, 02:25 | #910 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 676
|
Turns out Tapatalk swallowed parts of my message. PREFIX= should point to the directory where you want the built toolchain to be installed. The toolchain executables are installed underneath in „bin“ with the system includes and ndk etc in parallel
|
23 August 2018, 03:58 | #911 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
|
Quote:
What's a good directory to use for the PREFIX? Should it be something like /usr/bin/gcc? |
|
23 August 2018, 04:04 | #912 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 676
|
It’s really up to you. I personally didn‘t like the /opt/amiga directory, and just put it into my home directory somewhere under $HOME/
|
24 August 2018, 01:25 | #913 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
|
Hi,
I gave it a try last night and it didn't quite work out (no doubt due to my lack of Linux skills ). Lubuntu doesn't come with make or gcc so I install both of them first and then pulled down https://github.com/bebbo/amiga-gcc into /home/novacoderDevelopment/amiga-gcc. I then tried make all all-sdk -j4 PREFIX=/home/novacoder/Development/amiga And it spewed out the following stack trace (attached), any ideas? Last edited by NovaCoder; 27 December 2020 at 13:08. |
24 August 2018, 01:30 | #914 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 676
|
Seems this is the issue:
make: *** No rule to make target 'projects/newlib-cygwin/configure', needed by 'build/newlib/newlib/Makefile'. Stop. make: *** Waiting for unfinished jobs.... Not sure why there is Cygwin business in a native Linux environment ?! |
24 August 2018, 01:45 | #915 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
24 August 2018, 01:52 | #916 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
|
|
24 August 2018, 01:53 | #917 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
|
Yep I noticed that too, thought it was a bit weird.
|
24 August 2018, 01:53 | #918 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
24 August 2018, 01:53 | #919 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
24 August 2018, 02:00 | #920 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,408
|
Nope, I'll try that now.
Thanks Update: Seems happier now, still building... OK that worked, now trying to use eclipse CDT, anyone have any tips? Thanks Last edited by NovaCoder; 27 December 2020 at 13:08. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New GCC based dev toolchain for AmigaOS 3.x | cla | Coders. Releases | 8 | 24 December 2017 10:18 |
Issue with photon/xxxx WinUAE Toolchain | arpz | Coders. Asm / Hardware | 2 | 26 September 2015 22:33 |
New 68k gcc toolchain | arti | Coders. C/C++ | 17 | 31 July 2015 03:59 |
Hannibal's WinUAE Demo Toolchain 5 | Bobic | Amiga scene | 1 | 23 July 2015 21:04 |
From gcc to vbcc. | Cowcat | Coders. General | 9 | 06 June 2014 14:45 |
|
|