newbie. how to compile gcc-4.1.1

g g.one at mac.com
Sat Sep 2 09:04:46 PDT 2006


i downloaded the file from gnu.

ok, i see the directory.

thanks, i will try using the freebsd instruction.

g.

On Sep 2, 2006, at 10:33 AM, Kris Kennaway wrote:

> On Sat, Sep 02, 2006 at 10:17:27AM -0400, g wrote:
>> ok, i got a snapshot of the make bootstrap
>> it shows the error.
>>
>> ???
>
> Well, you didn't quite follow my instructions, but you showed enough
> to see that something is quite odd on your system:
>
> ----
> srcdir="/usr/ports/gcc-4.1.1/fixincludes" /bin/sh /usr/ports/ 
> gcc-4.1.1/fixincludes/mkfixinc.sh
> +i386-unknown-freebsd6.1
> sed -e 's/@gcc_version@//' <  > mkheadersT
> *** Error code 2
>
> Stop in /usr/ports/objdir/build-i386-unknown-freebsd6.1/fixincludes.
> *** Error code 1
>
> Stop in /usr/ports/objdir.
> ----
>
> Those directories are completely non-standard.  How did you install
> your ports collection?  The gcc41 port is supposed to be in
> /usr/ports/lang/gcc41, not /usr/ports/gcc-4.1.1.  Are you really using
> the ports collection or did you just download the gcc source code
> directly?
>
> Kris
>
> P.S. Don't drop the mailing list from your replies, or no-one else
> will be able to help you!

g.






More information about the freebsd-questions mailing list