21 June 2018, 19:43 | #861 |
Registered User
Join Date: Feb 2013
Location: Olathe, Kansas
Posts: 214
|
looks like there is a Makefile.clib2 specific makefile in the libSDL12 , i will try that
|
21 June 2018, 20:00 | #862 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
|
21 June 2018, 20:14 | #863 |
Registered User
Join Date: Feb 2013
Location: Olathe, Kansas
Posts: 214
|
thanks! gets me closer but now this
Code:
/opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/bin/ld: /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/lib/libSDL.a(SDL_string.go-00000028.o):(.text+0xc4): undefined reference to `__locale_ctype_ptr' /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/bin/ld: /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/lib/libSDL.a(SDL_string.go-00000028.o):(.text+0x15e): undefined reference to `__locale_ctype_ptr' /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/bin/ld: /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/lib/libSDL.a(SDL_string.go-00000028.o):(.text+0x1f2): undefined reference to `__locale_ctype_ptr' /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/bin/ld: /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/lib/libSDL.a(SDL_string.go-00000028.o):(.text+0x270): undefined reference to `__locale_ctype_ptr' /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/bin/ld: /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/lib/libSDL.a(SDL_string.go-00000028.o):(.text+0x124): undefined reference to `__locale_ctype_ptr' /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/bin/ld: /opt/amiga/lib/gcc/m68k-amigaos/6.4.1b/../../../../m68k-amigaos/lib/libSDL.a(SDL_string.go-00000028.o):(.text+0x2b8): more undefined references to `__locale_ctype_ptr' follow |
21 June 2018, 20:16 | #864 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
Quote:
|
|
21 June 2018, 20:19 | #865 | |
Registered User
Join Date: Feb 2013
Location: Olathe, Kansas
Posts: 214
|
Quote:
edit : got the lib to link just by adding -mcrt=clib2 in the Makefile.bax thanks for your assistance bebbo! Last edited by lantus360; 21 June 2018 at 20:27. |
|
21 June 2018, 20:28 | #866 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
|
21 June 2018, 20:28 | #867 |
Registered User
Join Date: Feb 2013
Location: Olathe, Kansas
Posts: 214
|
|
24 June 2018, 20:52 | #868 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
UPDATE
I just switched amiga-gcc away from amigaos-binutils-2.14, and set this repo to 'archived'. My new binutils repo is binutils-gdb. Current versions are:
/flame on |
24 June 2018, 21:04 | #869 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
When are you upgrading to gcc 8?
|
24 June 2018, 21:11 | #870 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
If I'm bored again and my amiga-gcc-8 is stable enough.
--- I lack well-founded knowledge, my design is pathetic and my changes are arbitrary. And yet the Amiga GCC-6 compiler is finished and better than any Amiga C compiler before. |
24 June 2018, 21:14 | #871 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
Yeah, I was just messing with you. However, I noticed the adtools (OS4 toolchain) has moved over to gcc 8 already |
|
24 June 2018, 21:16 | #872 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
|
24 June 2018, 21:32 | #873 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
Thanks, Bebbo! I wouldn't worry about GCC 8... if the latest LLVM/Clang became possible as a result.
If I remember correctly, libJIT was dropped from GCC while the MC-JIT in LLVM is used on many projects including Mesa's software renderer. I could be wrong but I think that by using shared libraries for each pass and using a custom pass manager to close the previous pass' libraries, LLVM could actually be made to work on a massively RAM expanded Classic Amiga! Thanks especially for your work on Binutils and GDB. They may be useful for both compiler frameworks. LLVM used to use GNU Binutils before the reinvention of the wheel for licensing reasons. (By the way, take this post with a HUGE grain of salt because LLVM would be as much work to port as the development of the GCC cross toolchain. I'm just giving you a hard time because there's never rest for the weary these days.) |
02 July 2018, 19:30 | #874 |
Registered User
Join Date: Jan 2017
Location: South Wales
Age: 51
Posts: 42
|
If anyone is interested in a standalone windows build i've created one which can be downloaded here: https://github.com/SteveMoody73/amiga-gcc/releases
It's compiled under MSYS2/MinGW rather than Cygwin as i wanted a version i could use nativly with Visual Studio Code. Warning if you try this, I've only tested this on two computers so far but both seem to be working fine. If you get any problems feel free to report them here or via github. @bebbo i've had to make some changes to get this to work under MinGW but i've done so in a way that it still seems to build cleanly under linux. If you want i can create a pull request on Github with the changes. |
02 July 2018, 19:32 | #875 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
04 July 2018, 21:05 | #876 | |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
Quote:
Once installed with the setup, how do you use it? is all path set? |
|
24 July 2018, 10:48 | #877 |
Registered User
Join Date: Feb 2018
Location: Grenoble / France
Posts: 14
|
Thanks SteveMoody! Thanks to you, I have a working build environment at last
However, I use my Mac a lot more than my Windows box and unfortunately I haven't been able to make a working build on OS X. Would anyone have OS X binaries? |
24 July 2018, 11:32 | #878 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
|
24 July 2018, 17:14 | #879 |
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Thanks bebbo for your effort!
I would also be interested in an OS X build so maybe the instructions to follow for this purpose could be worth publishing in this thread. Also, does anyone know what to expect as far as the quality of assembly code generation is concerned from that version of GCC? |
25 July 2018, 02:13 | #880 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
|
|
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 |
|
|