linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* building gcc 2.95 on a powermac
@ 1999-07-31  7:21 rdn2
  1999-07-31  8:40 ` Franz Sirl
  0 siblings, 1 reply; 2+ messages in thread
From: rdn2 @ 1999-07-31  7:21 UTC (permalink / raw)
  To: linuxppc-dev


I have been trying without success to build gcc 2.95 on my powerbase
running Linuxppc 1999. The error I get always says that I cannot build
exacutables. Also it looks like it is building for a rs6000 even though
I tell it the host=linux-powerpc-unknown-gnu. Is there something I am
doing wrong or is this a known problem? Does anyone have rpms built for
this yet? Thanks for the help in advance..

Ron Nelson

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: building gcc 2.95 on a powermac
  1999-07-31  7:21 building gcc 2.95 on a powermac rdn2
@ 1999-07-31  8:40 ` Franz Sirl
  0 siblings, 0 replies; 2+ messages in thread
From: Franz Sirl @ 1999-07-31  8:40 UTC (permalink / raw)
  To: rdn2, linuxppc-dev


Am Sam, 31 Jul 1999 schrieb rdn2@laki.mutagenic.org:
>I have been trying without success to build gcc 2.95 on my powerbase
>running Linuxppc 1999. The error I get always says that I cannot build
>exacutables. Also it looks like it is building for a rs6000 even though
>I tell it the host=linux-powerpc-unknown-gnu. Is there something I am
>doing wrong or is this a known problem? Does anyone have rpms built for
>this yet? Thanks for the help in advance..

<ftp://devel.linuxppc.org/users/fsirl/R5/RPMS/ppc/>

You'll need the binutils in there as well.

C nits:
- if you compile your kernel with gcc-2.95, add -fno-strict-aliasing to the
CFLAGS in arch/ppc/Makefile
- if you are compiling atyfb in your kernel, you have to use latest 2.2.10vger
- compiling XFree86 needs a patch for ATI and IMS (grab Tom Rini's latest 3.3.4
SRPM)
- compiling glibc-2.1 requires the latest CVS version of the
glibc-2-1-branch
- compiling emacs needs a patch

C++ nits:
- -fpermissive can be used as a compiler flag to turn some errors back into
warnings, but the bug is really in the source, fix it and/or report to the
author
- C++ has stricter syntax checking now to be compliant with ISO-C++, so if
gcc-2.95 flags an error where egcs-1.1 didn't, it's most likely the fault of
the source
- if you want to compile KDE, use KDE-1.1.2pre or later

FYI, I'm running gcc-2.95 compiled kernel, XFree86, qt-1.44, qt-2.0.1,
KDE-1.1.2pre on my local machine without problems.

Franz.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-07-31  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-31  7:21 building gcc 2.95 on a powermac rdn2
1999-07-31  8:40 ` Franz Sirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).