* Building X 3.3.6 (non-distributor environment)
@ 2000-04-07 18:50 Michael A. Peters
2000-04-08 10:12 ` Michel Dänzer
0 siblings, 1 reply; 2+ messages in thread
From: Michael A. Peters @ 2000-04-07 18:50 UTC (permalink / raw)
To: linuxppc-dev
I'm running the Linux From Scratch project
(http://www.linuxfromscratch.org) and its all working swell except X
won't build.
When I unpack X3.3.6 and try "make World" it very quickly quits with
an error from gcc. Funny thing is, the build *does* complete under
LinuxPPC (gcc 2.95.2, glibc 2.1.3 if it matters) from the same source.
Everything on the LFS system was compiled from source, first the
basics were compiled statically under LinuxPPC and then LFS was
booted, rebuilding everything shared and (of course) then building
the rest of the system. Other than not being able to build X
everything works well and properly.
Both systems boot off of the same kernel (2.2.14)
I looked at the environmental variable from both systems, no major
differences (I'm running bash 2.0.4 under LFS, 2.0.3 under LinuxPPC).
I looked at the end of /usr/lib/gcc-lib/<host>/2.95.2/specs on both
systems (looking for differences in the *cpp_os_linux predefines) and
there is no differences, at least not towards the end of the specs
file.
What seems to be happening is that make World under the LFS system is
passing instructions to the compiler that gcc doesn't like- the error
message when it quits:
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory `/usr/src/xc/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/usr/src/xc'
make: *** [World] Error 2
Opinion among people who have used the LFS howto on x86 and also
built X on other platforms is that my problem is that the make World
script doesn't know my compiler is gcc. Yes, I do have cc symlinked
to gcc
I've even tried make CC=gcc World with same result.
However, under LinuxPPC it compiles no problem.
Any of you know what the problem is (if its something else) or how to
set up the non-distribution linux so that it DOES know the compiler
is gcc?
Sorry for the lengthy post, and thanks for your time!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters http://216.22.163.20/
Linux Pages (new) http://216.22.163.20/Linux_Pages/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building X 3.3.6 (non-distributor environment)
2000-04-07 18:50 Building X 3.3.6 (non-distributor environment) Michael A. Peters
@ 2000-04-08 10:12 ` Michel Dänzer
0 siblings, 0 replies; 2+ messages in thread
From: Michel Dänzer @ 2000-04-08 10:12 UTC (permalink / raw)
To: Michael A. Peters; +Cc: linuxppc-dev
"Michael A. Peters" wrote:
>
> I'm running the Linux From Scratch project
> (http://www.linuxfromscratch.org) and its all working swell except X
> won't build.
>
> When I unpack X3.3.6 and try "make World" it very quickly quits with
> an error from gcc. Funny thing is, the build *does* complete under
> LinuxPPC (gcc 2.95.2, glibc 2.1.3 if it matters) from the same source.
>
> Opinion among people who have used the LFS howto on x86 and also
> built X on other platforms is that my problem is that the make World
> script doesn't know my compiler is gcc. Yes, I do have cc symlinked
> to gcc
>
> I've even tried make CC=gcc World with same result.
>
> However, under LinuxPPC it compiles no problem.
>
> Any of you know what the problem is (if its something else) or how to
> set up the non-distribution linux so that it DOES know the compiler
> is gcc?
In xc/config/cf there's a bunch of config files, the important ones for you
are probably xf86site.cf and linux.cf.
Set everything concerning Gcc (and maybe other stuff as well) to reflect your
system and you should be fine.
Michel
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-08 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-07 18:50 Building X 3.3.6 (non-distributor environment) Michael A. Peters
2000-04-08 10:12 ` Michel Dänzer
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).