Re: [uClinux-dev] m68k-elf-tools-20061214 incompatible with current linux kernel

2009-08-20 Thread Greg Ungerer

Hi Philippe,

Philippe De Muyter wrote:

On Thu, Aug 20, 2009 at 03:26:46PM +1000, Greg Ungerer wrote:

Hi Philippe,

Philippe De Muyter wrote:

Does someone have a newer build-uclinux-tools.sh that (s)he can share,
or at least recommend some newer versions of gcc and binutils ?

The other option is to use the code sourcery toolchains.


I prefer using tools that I recompile myself :)

clfs could perhaps also be interesting, but they do not provide a one file
script, only a collection of well-documented commands.


The codesourcery site used to have a build script for their
tools as well. I never tried it, don't know if then still put
that out there as well either.

Regards
Greg



Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] m68k-elf-tools-20061214 incompatible with current linux kernel

2009-08-20 Thread Philippe De Muyter
On Thu, Aug 20, 2009 at 03:26:46PM +1000, Greg Ungerer wrote:
> Hi Philippe,
>
> Philippe De Muyter wrote:
>> Does someone have a newer build-uclinux-tools.sh that (s)he can share,
>> or at least recommend some newer versions of gcc and binutils ?
>
> The other option is to use the code sourcery toolchains.

I prefer using tools that I recompile myself :)

clfs could perhaps also be interesting, but they do not provide a one file
script, only a collection of well-documented commands.

Philippe
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] m68k-elf-tools-20061214 incompatible with current linux kernel

2009-08-20 Thread Philippe De Muyter
Hi Greg,

On Thu, Aug 20, 2009 at 10:07:09PM +1000, Greg Ungerer wrote:
>> It comes from the following lines in build-uclinux-tools.sh :
>>
>>  cp ${GCC}/../t-uclinux ${GCC}/gcc/config/${_CPU}/t-uclinux
>>  cp ${GCC}/../uclinux.h ${GCC}/gcc/config/${_CPU}/uclinux.h
>
> Ok, missed that one, sorry :-(
> t-uclinux is in place now. By the look of the above you will
> need uclinux.h as well, so I copied that up to www.uclinux.org
> as well.


Build successful !


Thanks

Philippe
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] m68k-elf-tools-20061214 incompatible with current linux kernel

2009-08-20 Thread Greg Ungerer

Hi Philippe,

On 08/20/2009 05:30 PM, Philippe De Muyter wrote:

On Thu, Aug 20, 2009 at 03:26:46PM +1000, Greg Ungerer wrote:

Source here:

http://www.uclinux.org/pub/uClinux/m68k-elf-tools/tools-20080626/


Trying to build that fails with :
   
   STAGE 5 - needs building
   cp: cannot stat 
`/archives/m68kdev/uclinux-tools-20080626/gcc-4.2.4/../t-uclinux': No such file 
or directory

It comes from the following lines in build-uclinux-tools.sh :

cp ${GCC}/../t-uclinux ${GCC}/gcc/config/${_CPU}/t-uclinux
cp ${GCC}/../uclinux.h ${GCC}/gcc/config/${_CPU}/uclinux.h


Ok, missed that one, sorry :-(
t-uclinux is in place now. By the look of the above you will
need uclinux.h as well, so I copied that up to www.uclinux.org
as well.

Regards
Greg



Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] m68k-elf-tools-20061214 incompatible with current linux kernel

2009-08-20 Thread Philippe De Muyter
Hi Greg,

On Thu, Aug 20, 2009 at 03:26:46PM +1000, Greg Ungerer wrote:
> Source here:
>
> http://www.uclinux.org/pub/uClinux/m68k-elf-tools/tools-20080626/

Trying to build that fails with :
  
  STAGE 5 - needs building
  cp: cannot stat 
`/archives/m68kdev/uclinux-tools-20080626/gcc-4.2.4/../t-uclinux': No such file 
or directory

It comes from the following lines in build-uclinux-tools.sh :

cp ${GCC}/../t-uclinux ${GCC}/gcc/config/${_CPU}/t-uclinux
cp ${GCC}/../uclinux.h ${GCC}/gcc/config/${_CPU}/uclinux.h

Philippe
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] m68k-elf-tools-20061214 incompatible with current linux kernel

2009-08-19 Thread Greg Ungerer

Hi Philippe,

Philippe De Muyter wrote:

starting with a new embedded linux project, I just installed the latest
versions of m68k-elf-tools (20061214) and uclinux-dist (20090810).

I succesfully compiled m68k-elf-tools, but compiling the linux-2.6.x kernel
from uclinux-dist fails with :

include/linux/compiler-gcc4.h:8:4: error: #error Your version of gcc 
miscompiles the __weak directive

Does someone have a newer build-uclinux-tools.sh that (s)he can share,
or at least recommend some newer versions of gcc and binutils ?


This is the one I have been using for a while now:

http://www.uclinux.org/pub/uClinux/m68k-elf-tools/m68k-uclinux-tools-20080626.sh

Source here:

http://www.uclinux.org/pub/uClinux/m68k-elf-tools/tools-20080626/


The other option is to use the code sourcery toolchains.

Regards
Greg




Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev