Suggest: Add curl to gcc/install/prerequisites
Hi, Thanks for the clear and concise instructions. I'm building gcc-14, and have a small suggestion. Kind regards, Roosh42 *Webpage to update:* https://gcc.gnu.org/install/prerequisites.html *Suggestion:* Add curl as one of the prerequisites *Reason:* It is needed for ./contrib/download_prerequisites *Possible HTML to add to "Tools/packages necessary for building GCC":* curl If you use ./contrib/download_prerequisites to download local copies of some prerequisites listed below (e.g. GMP, MPFR, MPC, ISL, gettext), the script will use curl. *Extra reasoning:* By adding this just before the list of deps, it is more likely that readers will become aware that they can take the easy-path* of downloading these via the contrib script, rather than trying to build/install them into their system. *easy-path references in https://gcc.gnu.org/wiki/InstallingGCC
Re: Suggest: Add curl to gcc/install/prerequisites
On Fri, 11 Oct 2024 at 10:14, Roosh Fourtytwo via Gcc wrote: > Hi, Thanks for the clear and concise instructions. I'm building gcc-14, > and have a small suggestion. > > Kind regards, > Roosh42 > > *Webpage to update:* > https://gcc.gnu.org/install/prerequisites.html > > *Suggestion:* > Add curl as one of the prerequisites > > *Reason:* > It is needed for ./contrib/download_prerequisites > > *Possible HTML to add to "Tools/packages necessary for building GCC":* > curl > > If you use ./contrib/download_prerequisites to download local > copies of some prerequisites listed below (e.g. GMP, MPFR, MPC, ISL, > gettext), the script will use curl. > But it only uses curl if wget is not present: if type wget > /dev/null ; then fetch='wget' else fetch='curl -LO' fi But I agree that we should mention the download_prerequisites script more prominently (and format it as code where it's already mentioned). > > > > *Extra reasoning:* > By adding this just before the list of deps, it is more likely that readers > will become aware that they can take the easy-path* of downloading these > via the contrib script, rather than trying to build/install them into their > system. > > *easy-path references in https://gcc.gnu.org/wiki/InstallingGCC >
gcc-13-20241011 is now available
Snapshot gcc-13-20241011 is now available on https://gcc.gnu.org/pub/gcc/snapshots/13-20241011/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 13 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch releases/gcc-13 revision 2a328415118d05e4cd3fa8f4a9a5f4f838f09961 You'll find: gcc-13-20241011.tar.xz Complete GCC SHA256=e8b82912c3c4808c6d9f5c23f2964274eb17692d1ff2cda58c6d28cf794762fe SHA1=0be42f45310aa958279a5b54462d661e2102137a Diffs from 13-20241004 are available in the diffs/ subdirectory. When a particular snapshot is ready for public consumption the LATEST-13 link is updated and a message is sent to the gcc list. Please do not use a snapshot before it has been announced that way.
c99 does not handle -O2 but cc does?
latest SUSE Tumbleweed/gcc 14.2 c99 -O2 test.c returns: c99: invalid option -- '2' cc -O2 test.c returns successfull according to https://linux.die.net/man/1/c99 the -O2 option should work c99 is used in an older build system and that didn't work due to the -O2 problem
Re: GCC devroom at FOSDEM 2025?
On Tue, 01 Oct 2024 11:48:34 +0200 Thomas Schwinge wrote: > I need two, three people as co-organizers Happy to help, Thomas. Let me know what to do. --jkl
Re: Android: Fix build for Android
On Fri, 11 Oct 2024 at 17:30, yxj-github-437 via Gcc wrote: > This is a patch to fix target android Thanks for the patch. Patches need to be sent to the gcc-patches mailing list, and there are other requirements for all contributors, please see https://gcc.gnu.org/contribute.html
Re: Suggest: Add curl to gcc/install/prerequisites
Thanks for the quick response. My system complained that curl was not present. I also did not have wget, but the error didn't mention it (I'm pretty sure). In any case, my suggestion would then be to require either one. BTW, I was running this on a (mostly) clean install of Debian 12 in WSL under Windows 11. Kind regards, Roosh On Fri, Oct 11, 2024 at 11:18 AM Jonathan Wakely wrote: > > > On Fri, 11 Oct 2024 at 10:14, Roosh Fourtytwo via Gcc > wrote: > >> Hi, Thanks for the clear and concise instructions. I'm building gcc-14, >> and have a small suggestion. >> >> Kind regards, >> Roosh42 >> >> *Webpage to update:* >> https://gcc.gnu.org/install/prerequisites.html >> >> *Suggestion:* >> Add curl as one of the prerequisites >> >> *Reason:* >> It is needed for ./contrib/download_prerequisites >> >> *Possible HTML to add to "Tools/packages necessary for building GCC":* >> curl >> >> If you use ./contrib/download_prerequisites to download local >> copies of some prerequisites listed below (e.g. GMP, MPFR, MPC, ISL, >> gettext), the script will use curl. >> > > But it only uses curl if wget is not present: > > if type wget > /dev/null ; then > fetch='wget' > else > fetch='curl -LO' > fi > > But I agree that we should mention the download_prerequisites script more > prominently (and format it as code where it's already mentioned). > > >> >> >> >> *Extra reasoning:* >> By adding this just before the list of deps, it is more likely that >> readers >> will become aware that they can take the easy-path* of downloading these >> via the contrib script, rather than trying to build/install them into >> their >> system. >> >> *easy-path references in https://gcc.gnu.org/wiki/InstallingGCC >> >
Re: c99 does not handle -O2 but cc does?
On Fri, 11 Oct 2024 at 17:02, Dennis Luehring via Gcc wrote: > latest SUSE Tumbleweed/gcc 14.2 > > c99 -O2 test.c > > returns: > c99: invalid option -- '2' > > cc -O2 test.c > > returns successfull > > > according to https://linux.die.net/man/1/c99 the -O2 option should work > c99 is used in an older build system and that didn't work due to the -O2 > problem > > The c99 executable is provided by your distro, it's not part of GCC. Maybe it wants a space between the -O and 2, but I don't know.
Android: Fix build for Android
This is a patch to fix target android 0001-Android-Fix-build-for-Android.patch Description: Binary data
Re: c99 does not handle -O2 but cc does?
Am 11.10.2024 um 18:07 schrieb Jonathan Wakely: The c99 executable is provided by your distro, it's not part of GCC. Maybe it wants a space between the -O and 2, but I don't know. thanks for clearing that up does not work with spaces - will ask on the Tumbleweed list