Re: Failure During Building

2023-02-20 Thread -xlan- via Gcc
Thanks, I'll check it out. On Sun, Feb 19, 2023 at 8:48 AM Iain Sandoe wrote: > > > > On 19 Feb 2023, at 16:27, -xlan- wrote: > > > > Hi, I have the SDK installed but I don't understand how to use the > --with-sysroot command. Is the flag supposed to be with my make all-gcc > command, please el

Re: Failure During Building

2023-02-20 Thread -xlan- via Gcc
Hi, I have the SDK installed but I don't understand how to use the --with-sysroot command. Is the flag supposed to be with my make all-gcc command, please elaborate. On Sat, Feb 18, 2023 at 3:49 PM Iain Sandoe wrote: > Hi > > > On 18 Feb 2023, at 20:28, -xlan- wrote: > > > > I tried compiling ve

Re: Failure During Building

2023-02-20 Thread Iain Sandoe
> On 19 Feb 2023, at 16:27, -xlan- wrote: > > Hi, I have the SDK installed but I don't understand how to use the > --with-sysroot command. Is the flag supposed to be with my make all-gcc > command, please elaborate. It is a configure argument for GCC’s configure script - there is more info

Re: Failure During Building

2023-02-18 Thread Iain Sandoe
Hi > On 18 Feb 2023, at 20:28, -xlan- wrote: > > I tried compiling version 12.2.0 and it attempts to access system headers at > /usr/include, but on mac the system headers are stored at > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include

Re: Failure During Building

2023-02-18 Thread -xlan- via Gcc
I tried compiling version 12.2.0 and it attempts to access system headers at /usr/include, but on mac the system headers are stored at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include. Here's my error: rm -rf include-fixed; mkdir include-f

Re: Failure During Building

2023-02-17 Thread Iain Sandoe
> On 17 Feb 2023, at 15:37, Jonathan Wakely via Gcc wrote: > > On Fri, 17 Feb 2023, 15:17 -xlan- via Gcc, wrote: > >> I was building gcc version 4.9.1 > > > Why? Indeed, what is the use-case? trying to build such an old GCC version on modern macOS could be problematic. > on Mac OS versio

Re: Failure During Building

2023-02-17 Thread Jonathan Wakely via Gcc
On Fri, 17 Feb 2023, 15:17 -xlan- via Gcc, wrote: > I was building gcc version 4.9.1 Why? on Mac OS version when I got this error: > > In file included from ../../gcc-4.9.1/gcc/c/c-objc-common.c:33: > In file included from > > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c+

Failure During Building

2023-02-17 Thread -xlan- via Gcc
I was building gcc version 4.9.1 on Mac OS version when I got this error: In file included from ../../gcc-4.9.1/gcc/c/c-objc-common.c:33: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new:93: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/inc