https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #17 from Jonathan Wakely ---
(In reply to cqwrteur from comment #2)
> ../gcc/configure --disable-nls --disable-werror --disable-libstdcxx-verbose
> --enable-libstdc++ --disable-ssp --enable-languages=c,c++ --prefix=$PREFIX
> --target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #16 from Georg-Johann Lay ---
--with-avrlibc is default, so setting it is void. C.f. install info.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #15 from Jonathan Wakely ---
(In reply to cqwrteur from comment #14)
> Whatever. i have successfully built that. It works very well tbh.
Excellent!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #14 from cqwrteur ---
(In reply to Jonathan Wakely from comment #13)
> Marking as enhancement, since this is not a supported target for libstdc++
> today, so is not expected to build.
Whatever. i have successfully built that. It wor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
Jonathan Wakely changed:
What|Removed |Added
Severity|normal |enhancement
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #12 from Jonathan Wakely ---
(In reply to cqwrteur from comment #8)
> But it is not documented.
It is: https://gcc.gnu.org/install/configure.html#avr
>
> in the /src/c++11/system_error.cc
>
> #ifdef __AVR__
> return std::er
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
Jonathan Wakely changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #11 from Jonathan Wak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #10 from cqwrteur ---
../../../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:767:15: error:
'getcwd' was not declared in this scope; did you mean
'std::filesystem::__gnu_posix::getcwd'?
767 | if (getcwd(buf.get(), size
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #9 from cqwrteur ---
(In reply to Jonathan Wakely from comment #7)
> Right, you need to use --with-avr
https://github.com/gcc-mirror/gcc/commit/75aee072696a711f3e5b3bd1ab1f2b10fef4c7dd#diff-304a8fc076ccc48dd33f53a740ca6860dac5fafede
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #8 from cqwrteur ---
(In reply to Jonathan Wakely from comment #7)
> Right, you need to use --with-avr
--with-avrlibc
Yeah.
But it is not documented.
in the /src/c++11/system_error.cc
#ifdef __AVR__
return std::error_condit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #7 from Jonathan Wakely ---
Right, you need to use --with-avr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #6 from cqwrteur ---
Created attachment 51295
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51295&action=edit
errors with --with-avr
i just find --with-avr toggle in the libstdc++'s configure. but it has other
issues here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #5 from cqwrteur ---
https://github.com/vancegroup-mirrors/avr-libc
you can try it by yourself with avr-libc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #4 from cqwrteur ---
Created attachment 51294
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51294&action=edit
end part of error messages
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #3 from cqwrteur ---
Created attachment 51293
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51293&action=edit
config file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #2 from cqwrteur ---
(In reply to Jonathan Wakely from comment #1)
> How did you run configure?
../gcc/configure --disable-nls --disable-werror --disable-libstdcxx-verbose
--enable-libstdc++ --disable-ssp --enable-languages=c,c++ --
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
Jonathan Wakely changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
18 matches
Mail list logo