Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
102 user(s) are online (65 user(s) are browsing Forums)

Members: 1
Guests: 101

TheMagicSN, more...

Headlines

Forum Index


Board index » All Posts (rjd324)




Re: Are AmigaKit still selling X5000 machines?
Quite a regular
Quite a regular


I love my X1000, but I wouldn't mind knowing that an X5000 is available if something were to go wrong.

Isn't Matthew from AmigaKit. Are you guys still selling these?

Go to top


Re: No std::to_string(float) in GCC 11
Quite a regular
Quite a regular


How can I become a beta tester? Really so that I can report on bugzilla.

Go to top


Are AmigaKit still selling X5000 machines?
Quite a regular
Quite a regular


As the title says.

Go to top


Re: No std::to_string(float) in GCC 11
Quite a regular
Quite a regular


@kas1e

Do we have a repository of test cases for c++11 features? If this is happening for one of the new library c++11 then it may be happening for others too.

Go to top


Re: No std::to_string(float) in GCC 11
Quite a regular
Quite a regular


It's a fine suggestion. Believe me, I prefer C, and could also use it here. But the question really is specific. I am wondering why it is not there for our native GCC11 compiler.

Go to top


No std::to_string(float) in GCC 11
Quite a regular
Quite a regular


to_string(float) is apparently supported since c++11:
https://en.cppreference.com/w/cpp/string/basic_string/to_string

I am using GCC11 : https://github.com/sodero/adtools/rele ... cc11.1.0-20210531-743.lha

I am trying to build:
type main.cpp 
#include <iostream>
#include <string>

int main()
{
    
std::string x std::to_string(22.2f);
    
std::cout<<x<<std::endl;
    return 
0;
}


4.Other:Dev/cpp11g++ -std=c++11 -athread=native -o main main.cpp 
main
.cppIn function 'int main()':
main.cpp:6:39errorcall of overloaded 'to_string(float)' is ambiguous
    6 
|         std::string x std::to_string(22.2f);
      |                         ~~~~~~~~~~~~~~^~~~~~~
In file included from /Programs/SDK/gcc/include/c++/11.1.0/string:55,
                 
from /Programs/SDK/gcc/include/c++/11.1.0/bits/locale_classes.h:40,
                 
from /Programs/SDK/gcc/include/c++/11.1.0/bits/ios_base.h:41,
                 
from /Programs/SDK/gcc/include/c++/11.1.0/ios:42,
                 
from /Programs/SDK/gcc/include/c++/11.1.0/ostream:38,
                 
from /Programs/SDK/gcc/include/c++/11.1.0/iostream:39,
                 
from main.cpp:1:
/
Programs/SDK/gcc/include/c++/11.1.0/bits/basic_string.h:6649:3notecandidate'std::string std::__cxx11::to_string(int)'
 
6649 |   to_string(int __val)
      |   ^~~~~~~~~
/
Programs/SDK/gcc/include/c++/11.1.0/bits/basic_string.h:6660:3notecandidate'std::string std::__cxx11::to_string(unsigned int)'
 
6660 |   to_string(unsigned __val)
      |   ^~~~~~~~~
/
Programs/SDK/gcc/include/c++/11.1.0/bits/basic_string.h:6668:3notecandidate'std::string std::__cxx11::to_string(long int)'
 
6668 |   to_string(long __val)
      |   ^~~~~~~~~
/
Programs/SDK/gcc/include/c++/11.1.0/bits/basic_string.h:6679:3notecandidate'std::string std::__cxx11::to_string(long unsigned int)'
 
6679 |   to_string(unsigned long __val)
      |   ^~~~~~~~~
/
Programs/SDK/gcc/include/c++/11.1.0/bits/basic_string.h:6687:3notecandidate'std::string std::__cxx11::to_string(long long int)'
 
6687 |   to_string(long long __val)
      |   ^~~~~~~~~
/
Programs/SDK/gcc/include/c++/11.1.0/bits/basic_string.h:6699:3notecandidate'std::string std::__cxx11::to_string(long long unsigned int)'
 
6699 |   to_string(unsigned long long __val)
      |   ^~~~~~~~~


g++ --version
g
++ (adtools build 11.1.011.1.0
Copyright 
(C2021 Free Software FoundationInc.
This is free softwaresee the source for copying conditions.  There is NO
warranty
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Edited by rjd324 on 2022/3/17 0:18:27
Go to top


Re: setitimer() / getitimer() / strerror() undefined reference
Quite a regular
Quite a regular


Nice.

Did you do getitimer?

As for strerror, yes it is there. No problem.

Go to top


Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Quite a regular
Quite a regular


@afxgroup

What is the link to your CLIB2?

Go to top


Re: Finally some version of (M)Emacs for the Amiga
Quite a regular
Quite a regular


@walkero

Thank you for that. I found the exact part I needed regarding stand-alone mode.

Even with the first compiled version, I now have a stand-alone version of JASSPA-Emacs running which makes me feel so much more at home. I am finally free to develop things in the way that feels more normal.

I will iron out some issues, give credit where it is due and possibly upload this to the OS4Depot/Aminet in a short while.

Go to top


Finally some version of (M)Emacs for the Amiga
Quite a regular
Quite a regular


I have been working on porting over JASSPA Micro Emacs to the Amiga using AmiCygnix.

Here is a picture of the first time I ran the executable:
Resized Image
Click

@walkero
There are some glitches to iron out of course and I need to remind myself how to run AmiCygnix programs without needing to launch the entire UI; like what George does for Pidgin (so I will need to revisit one of his videos. George, if you can give me the link, that would be great).

So, my goal is to iron out some of the issues here then consider a full port to intuition and/or, a port of a different emacs version to the Amiga.

Even this very first compiled executable is better (for me, at least) than the MEmacs that comes with AmigaOS4.1 which is based on 2.1

Go to top


Re: setitimer() / getitimer() / strerror() undefined reference
Quite a regular
Quite a regular


@kas1e
@afxgroup

I also believe that there is a lack of implementation for strerror() which is causing another undefined reference. Well, actually, the source code is directly using the sys_errlist variable. Either way, this is something else that would be nice to have in newlib (which, since it is closed source may never happen) or CLIB2 - for which there is a chance - if CLIB2 does not have it already.

Go to top


Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Quite a regular
Quite a regular


I believe higher is better indeed.

Go to top


Re: setitimer undefined reference
Quite a regular
Quite a regular


@kas1e

Thanks for the info. I do actually use the find utility also and this searches all files whether they are binaries or whatever. Is this okay? Or is there a faster technique?

Go to top


Re: Why aos4util_newlib?
Quite a regular
Quite a regular


For some reason I was under the impression that for AmiCygnix I must link with newlib (default). Or, can I link with clib2 instead? I guess so... just keep all my compiler flags but use -mcrt=clib2 ?

Go to top


Re: Why aos4util_newlib?
Quite a regular
Quite a regular


@walkero

It's the version I use today and I am not sure it has been upgraded since AmigaOS2. It is missing too many features to be useful.

The first attempt is it get it working on AmiCygnix and then, perhaps, to consider hacking it to use intuition directly rather than going through AmiCygnix.

Go to top


Re: Why aos4util_newlib?
Quite a regular
Quite a regular


It's JASSPA MicroEmacs that stopped development in a about 2009. Uses X11.

I am so disappointed that a recent version of emacs has not been posted over to Amiga.

Stock Memacs is missing too many basic functions to make it usable.

I Emacs as my IDE every single day of my life at work. For me, it is a way of life and I need it if I am to do any serious contributions to Amiga. It's the first thing I need.

Emacs v19/20 on Aminet was ported for 68k and crashes on AOS4 with petunia. I think there is some specific code in there assuming we are using a classic amiga regarding memory.

Let me know if there is a good version of emacs/memacs. Regardless, porting this is a good first task for me.

I will never use the editor of the beast, Vi Vi Vi. And, despite the good work of recent editors for AOS4, emacs is a way of life for some.

Go to top


Re: Why aos4util_newlib?
Quite a regular
Quite a regular


@cygusEd

Thanks for your great work. I am in the process of porting something to AmiCygnix but there seems not be an implementation for setitimer/getitimer resulting in an undefined reference. Will I have to hack-workaround this?

Go to top


Re: setitimer undefined reference
Quite a regular
Quite a regular


@kas1e.

Thanks for the tip. I do generally use SDK Browser.

Do you know if setitimer/getitimer are on the list of known unimplemented/forgotten functions for the newlib guys?

Go to top


FPSE (Playstation Emulator)
Quite a regular
Quite a regular


From what I read, not all games work great with FPSE.

I am running version FPSE 1.7.1.289.

I recently upgraded my graphics card and was thereby able to buy the WARP3D drivers. This enabled me to use the warp3d plugin. The problem is that Resident Evil does not play particularly well.

Is is the case that not all games work well?

I also heard that it may be best to use the version provided on the website directly?

Failing that, I wonder if there is an SDL Playstation Emulator and whether that would be portable?

Go to top


Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Quite a regular
Quite a regular


Hello.

Why does AmiCygnix use the library: aos4util_newlib? Are these just functions that are in addition to those provided by the newlib library for AOS4? Are the C-standard functions that are not yet implemented in the raw AOS4 newlib?


Edited by rjd324 on 2022/3/12 19:12:23
Reason: Make title more relevant to thread
Go to top



TopTop
« 1 ... 29 30 31 (32) 33 34 35 36 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project