Re: [Scratchbox-users] Foreign toolchain process

2011-05-13 Thread Jussi Hakala

On 05/12/2011 05:00 AM, Diane Holt wrote:

Did you post your linaro on the downloads page? (All I see are ones
named cs*, which I assume are CodeSourcery ones.)


Did not, I've recompiled the toolchain and added 2 patches so it's not 
exactly official linaro one :)


However, if you want to try it out, I put it available in here [1]. 
There seems to be some older linaro toolchain as well. Also some 
customizations in the gcc.specs which you might want to leave out.


The build-config for toolchain-extras is also included in the package.

Regards,

  Jussi

[1]
http://scratchbox.org/~jhakala/unofficial/
___
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users


Re: [Scratchbox-users] Foreign toolchain process

2011-05-13 Thread Jussi Hakala

On 05/12/2011 07:06 PM, Diane Holt wrote:

Just FYI, I found the error. The make process requires the C++ headers
be at /scratchbox/compilers//compiler-name//include/c++ -- mine were at
/scratchbox/compilers//compiler-name//arm-linux-gnueabi/include/c++.


It didn't complain about missing headers when compiling extras?

Regards,

  Jussi
___
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users


Re: [Scratchbox-users] Foreign toolchain process

2011-05-12 Thread Diane Holt
Just FYI, I found the error. The make process requires the C++ headers be at
/scratchbox/compilers/*compiler-name*/include/c++ -- mine were at
/scratchbox/compilers/*compiler-name*/arm-linux-gnueabi/include/c++. Once I
fixed that, everything built as expected.

Thanks,
Diane

On Wed, May 11, 2011 at 7:00 PM, Diane Holt holt.di...@gmail.com wrote:

 It did build the device_tools files when I did a 4.5.2 linaro -- it just
 didn't when I did a 4.5.3 one, which is what confused me, and made me send
 mail :)  I didn't do anything differently when I did it for 4.5.2 than when
 I did the 4.5.3 one, so I can't see why the result would be different.

 Did you post your linaro on the downloads page? (All I see are ones named
 cs*, which I assume are CodeSourcery ones.)

 Thanks,
 Diane


 On Wed, May 11, 2011 at 4:44 AM, Jussi Hakala jussi.hak...@movial.comwrote:

 On 05/05/2011 10:42 AM, Diane Holt wrote:

 This time, I didn't get any of that. There's
 no error in the make output, there's just no mention of those things at
 all. I also just noticed that, while I do have a device_tools subdir,
 there's no Makefile in it. There's one in meta/device_tools, but not in
 sb-toolchain-extras/device_tools (just a category.mk
 http://category.mk). Is there supposed to be one? If there is, where's

 it supposed to come from? If there isn't supposed to be, can you think
 of any reason why this stuff didn't get built?  (FTR, I'm running the
 foreign-toolchain process on a linaro 4.5.3 arm.)


 All the new output from sb-toolchain-extras should go to

 /scratchbox/device_tools/toolname-version/new-compiler
 /scratchbox/compilers/new-compiler

 or their subdirectories.

 There's a fair bit of residual makefiles that come from original
 toolchain-extras, so maybe you've run a wrong target and/or you've run make
 in a wrong subdirectory?

 As suggested by the wiki the process should be something like this

 % make CONFIG=meta/alien-tc/myconf.conf -C meta/alien-tc all-sums
 % make CONFIG=meta/alien-tc/myconf.conf -C meta/alien-tc

 and for packaging

 make CONFIG=meta/alien-tc/myconf.conf VERSION=1.0.22 all-packages

 where version is usually sb-toolchain-extras-version, or some arbitrary
 version number you'd like to assign to the packages (the packaging version
 comes from the toolchain config).

 I have a packaging somewhere of the linaro gcc-4.5 2011.04 and as far as I
 recall, it used to package just fine.

 Regards,

  Jussi
 ___
 Scratchbox-users mailing list
 Scratchbox-users@lists.scratchbox.org
 http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users



___
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users


Re: [Scratchbox-users] Foreign toolchain process

2011-05-11 Thread Diane Holt
It did build the device_tools files when I did a 4.5.2 linaro -- it just
didn't when I did a 4.5.3 one, which is what confused me, and made me send
mail :)  I didn't do anything differently when I did it for 4.5.2 than when
I did the 4.5.3 one, so I can't see why the result would be different.

Did you post your linaro on the downloads page? (All I see are ones named
cs*, which I assume are CodeSourcery ones.)

Thanks,
Diane

On Wed, May 11, 2011 at 4:44 AM, Jussi Hakala jussi.hak...@movial.comwrote:

 On 05/05/2011 10:42 AM, Diane Holt wrote:

 This time, I didn't get any of that. There's
 no error in the make output, there's just no mention of those things at
 all. I also just noticed that, while I do have a device_tools subdir,
 there's no Makefile in it. There's one in meta/device_tools, but not in
 sb-toolchain-extras/device_tools (just a category.mk
 http://category.mk). Is there supposed to be one? If there is, where's

 it supposed to come from? If there isn't supposed to be, can you think
 of any reason why this stuff didn't get built?  (FTR, I'm running the
 foreign-toolchain process on a linaro 4.5.3 arm.)


 All the new output from sb-toolchain-extras should go to

 /scratchbox/device_tools/toolname-version/new-compiler
 /scratchbox/compilers/new-compiler

 or their subdirectories.

 There's a fair bit of residual makefiles that come from original
 toolchain-extras, so maybe you've run a wrong target and/or you've run make
 in a wrong subdirectory?

 As suggested by the wiki the process should be something like this

 % make CONFIG=meta/alien-tc/myconf.conf -C meta/alien-tc all-sums
 % make CONFIG=meta/alien-tc/myconf.conf -C meta/alien-tc

 and for packaging

 make CONFIG=meta/alien-tc/myconf.conf VERSION=1.0.22 all-packages

 where version is usually sb-toolchain-extras-version, or some arbitrary
 version number you'd like to assign to the packages (the packaging version
 comes from the toolchain config).

 I have a packaging somewhere of the linaro gcc-4.5 2011.04 and as far as I
 recall, it used to package just fine.

 Regards,

  Jussi
 ___
 Scratchbox-users mailing list
 Scratchbox-users@lists.scratchbox.org
 http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

___
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users