linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Cross compilation for MPC860
@ 1999-09-16 12:52 sébastien tadéoni
  1999-09-16 18:21 ` Scott Wood
  1999-09-17  0:23 ` Graham Stoney
  0 siblings, 2 replies; 6+ messages in thread
From: sébastien tadéoni @ 1999-09-16 12:52 UTC (permalink / raw)
  To: linux ppc embedded



Dear PPC People

I'm student working on a project with linux.
I want to import the linux OS on a MPC860PowerQuick MBX custom card.

I'm working on a PII 400 computer with the linux Mandrake 6.0 release .
I follow the instructions given on the
www.member.home.com/mmporter/cross.html site.

I encount some problems with this procedure for building my own
environment.

I have no problem for installing binutils-2.2.1.0.19a.
But during the make of egcs-core-1.1.2, some command like
'powerpc-linux-ar' were unknown.

I found it in /usr/local/bin, so I assume I must modified the $PATH .

With this manipulation I didn't encount error any more (just some
warning).

Concerning the kernel sources, I took an embedded-2.2.5.tar.gz file on
the linuxppc site.

I don't know where I must put the linux sources directory to, so I make
it in /home (like the two precedent files).

I make menuconfig, dep and then clean with no problems.

During the make zImage I get the following errors:

ppc_ksyms.c:71:'isa_io_base' undeclared here (not in a fonction)

ppc_ksyms.c:71:'initializer element for '--ksymtab_isa_io_base.value'
is not constant,

And the same thing with the variable pci_dram_offset.

Perhaps is there a configuration problem or I didn't install correctly
the powerpc-linux environment for cross development?

On top of that the /usr/local/powerpc_linux/include directory is empty
so that I can't make the ln -s with the include/linux and include/asm
directories(in my linux sources directory) before I want to build the
LibC.

I will appreciate any suggestions and help  from you on this subject.

Thanks in advance.
Have a good day.

Sébastien.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Cross compilation for MPC860
@ 1999-09-21 12:40 sébastien tadéoni
  0 siblings, 0 replies; 6+ messages in thread
From: sébastien tadéoni @ 1999-09-21 12:40 UTC (permalink / raw)
  To: linux ppc embedded, Graham Stoney, Scott Wood



Hi Graham, Hi Scott;

Thanks for your help for cross compiling.

> Any particular reason for using old versions        
> of binutils & egcs?

> My suggestion is that if you're just starting out,  
 > now is the best time to make sure you're using the 
 > latest gcc (2.95.1) and binutils. You have to make
a > tiny mod to the gcc specs file if you use binutils
  > 2.9.1, because the name of the linker emulation
has  > changed since the last binutils release. I'm   
     > currently using the binutils-990809 snapshot.
Haven't > actually run any code it produces yet
though.

I have pgcc-2.91.66 (egcs-1.1.2 release) and I founded
a gcc-2.95 tar file but I have problem with the
./configure command (system can't find any sources in
. or ..).
I see you work on a pentium station and I would have
known how you have configured your machine.
Where can I find the last binutils and gcc release and
how install them (is there specifics command other
than --target=powerpc-linux and --with-newlib)?
Which modif must I make in the spec files?

Graham Stoney wrote:
...
> *** drivers/macintosh/Makefile.dist     Tue Aug 10 >
16:07:44 1999
> --- drivers/macintosh/Makefile  Tue Aug 10 16:25:03
> 1999
> ***************
> *** 15,21 ****
>   L_TARGET := macintosh.a
>   M_OBJS   :=
>   
> ! ifndef CONFIG_MBX
>  L_OBJS   := via-cuda.o macio-adb.o via-pmu.o >
mediabay.o
>  LX_OBJS  := adb.o
>  endif
> --- 15,21 ----
>  L_TARGET := macintosh.a
>  M_OBJS   :=
  
> ! ifdef CONFIG_PMAC
>  L_OBJS   := via-cuda.o macio-adb.o via-pmu.o >
mediabay.o
>  LX_OBJS  := adb.o
>  endif

and Scott Wood wrote:

> Note that the 2.2.5-embedded kernel compiles in ADB 
> support whether you configured for it or not
(correct > me if I'm wrong, but that has been my
experience so
> far), so I commented out L_OBJS and LX_OBJS in >
drivers/macintosh/Makefile and it builds without ADB.

I don't realy understand which role play this makefile
and what is ADB?

Thanks in advance for your help.
Good Day
Sébastien


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~1999-09-21 12:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-16 12:52 Cross compilation for MPC860 sébastien tadéoni
1999-09-16 18:21 ` Scott Wood
1999-09-16 23:44   ` Brendan Simon
1999-09-17  0:23 ` Graham Stoney
1999-09-17  1:12   ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
1999-09-21 12:40 sébastien tadéoni

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).