* [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos
@ 2011-04-05 7:57 Eigil Krogh Sørensen
2011-04-05 8:22 ` Stefan Sommerfeld
2011-04-08 10:57 ` [ECOS] " Tarmo Kuuse
0 siblings, 2 replies; 7+ messages in thread
From: Eigil Krogh Sørensen @ 2011-04-05 7:57 UTC (permalink / raw)
To: ecos-discuss
Hi
. Is it possible to use CodeSourcery g++ Lite toolchain for eCos? I would like to use that because the compiler is newer, gcc-4.5.1, than the gnutools for ARM, that comes with eCos, gcc-4.3. gcc-4.5. can make code ARM11 and Cortex-R/A.
. Can CodeSourcery g++ Lite toolchain be used together with eCos config tool in Windows?
. Which version of the CodeSourcery g++ Lite toolchain should be used with eCos?
Best
EISOR
\Eigil
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos
2011-04-05 7:57 [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos Eigil Krogh Sørensen
@ 2011-04-05 8:22 ` Stefan Sommerfeld
2011-04-05 12:59 ` Eigil Krogh Sørensen
2011-04-08 10:57 ` [ECOS] " Tarmo Kuuse
1 sibling, 1 reply; 7+ messages in thread
From: Stefan Sommerfeld @ 2011-04-05 8:22 UTC (permalink / raw)
To: Eigil Krogh Sørensen; +Cc: ecos-discuss
Hi Eigil,
>
> . Is it possible to use CodeSourcery g++ Lite toolchain for eCos? I would like to use that because the compiler is newer, gcc-4.5.1, than the gnutools for ARM, that comes with eCos, gcc-4.3. gcc-4.5. can make code ARM11 and Cortex-R/A.
>
> . Can CodeSourcery g++ Lite toolchain be used together with eCos config tool in Windows?
>
> . Which version of the CodeSourcery g++ Lite toolchain should be used with eCos?
>
I'm using latest CodeSourcery toolchain for eCos (the arm gcc). If you want to
use cygwin you need make version 3.80, because the latest make doesn't work
correctly with non-cygwin paths and a correctly set CYGPATH variable. Build
directly in ecos config tool does not work, but creating a config and running
make in the *_build dir does.
I hope this helps you.
Bye...
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos
2011-04-05 8:22 ` Stefan Sommerfeld
@ 2011-04-05 12:59 ` Eigil Krogh Sørensen
2011-04-07 12:58 ` Stefan Sommerfeld
0 siblings, 1 reply; 7+ messages in thread
From: Eigil Krogh Sørensen @ 2011-04-05 12:59 UTC (permalink / raw)
To: Stefan Sommerfeld; +Cc: ecos-discuss
Hi again Stefan
Which version of the CodeSourcery tool chain do you use. I have "arm-none-eabi". When I use that chain to compile eCos + app. I have the problem, that e.g. printf doesn't call the eCos function and thus nothing is printed.
Did you build the libraries youself?
Best
EISOR
\Eigil
-----Original Message-----
From: Stefan Sommerfeld [mailto:sommerfeld@mikrom.de]
Sent: 5. april 2011 10:22
To: Eigil Krogh Sørensen
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos
Hi Eigil,
>
> . Is it possible to use CodeSourcery g++ Lite toolchain for eCos? I would like to use that because the compiler is newer, gcc-4.5.1, than the gnutools for ARM, that comes with eCos, gcc-4.3. gcc-4.5. can make code ARM11 and Cortex-R/A.
>
> . Can CodeSourcery g++ Lite toolchain be used together with eCos config tool in Windows?
>
> . Which version of the CodeSourcery g++ Lite toolchain should be used with eCos?
>
I'm using latest CodeSourcery toolchain for eCos (the arm gcc). If you want to
use cygwin you need make version 3.80, because the latest make doesn't work
correctly with non-cygwin paths and a correctly set CYGPATH variable. Build
directly in ecos config tool does not work, but creating a config and running
make in the *_build dir does.
I hope this helps you.
Bye...
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos
2011-04-05 12:59 ` Eigil Krogh Sørensen
@ 2011-04-07 12:58 ` Stefan Sommerfeld
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Sommerfeld @ 2011-04-07 12:58 UTC (permalink / raw)
To: Eigil Krogh Sørensen; +Cc: ecos-discuss
Hi Eigil,
> Which version of the CodeSourcery tool chain do you use. I have "arm-none-eabi". When I use that chain to compile eCos + app. I have the problem, that e.g. printf doesn't call the eCos function and thus nothing is printed.
>
> Did you build the libraries youself?
>
I use arm-none-eabi and I like with: "-Ttarget.ld -nostdlib
-L<path>/ecos_install/lib"
Which arm cpu do you use?
Bye...
>
> -----Original Message-----
> From: Stefan Sommerfeld [mailto:sommerfeld@mikrom.de]
> Sent: 5. april 2011 10:22
> To: Eigil Krogh Sørensen
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos
>
> Hi Eigil,
>
>>
>> . Is it possible to use CodeSourcery g++ Lite toolchain for eCos? I would like to use that because the compiler is newer, gcc-4.5.1, than the gnutools for ARM, that comes with eCos, gcc-4.3. gcc-4.5. can make code ARM11 and Cortex-R/A.
>>
>> . Can CodeSourcery g++ Lite toolchain be used together with eCos config tool in Windows?
>>
>> . Which version of the CodeSourcery g++ Lite toolchain should be used with eCos?
>>
>
> I'm using latest CodeSourcery toolchain for eCos (the arm gcc). If you want to
> use cygwin you need make version 3.80, because the latest make doesn't work
> correctly with non-cygwin paths and a correctly set CYGPATH variable. Build
> directly in ecos config tool does not work, but creating a config and running
> make in the *_build dir does.
>
> I hope this helps you.
>
> Bye...
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] Re: Questions about CodeSourcery g++ Lite tool chain and eCos
2011-04-05 7:57 [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos Eigil Krogh Sørensen
2011-04-05 8:22 ` Stefan Sommerfeld
@ 2011-04-08 10:57 ` Tarmo Kuuse
2011-04-08 11:19 ` Tarmo Kuuse
1 sibling, 1 reply; 7+ messages in thread
From: Tarmo Kuuse @ 2011-04-08 10:57 UTC (permalink / raw)
To: ecos-discuss
Hi Eigil,
On 05.04.2011 10:57, Eigil Krogh Sørensen wrote:
> . Is it possible to use CodeSourcery g++ Lite toolchain for eCos? I would like to use that because the compiler is newer, gcc-4.5.1, than the gnutools for ARM, that comes with eCos, gcc-4.3. gcc-4.5. can make code ARM11 and Cortex-R/A.
>
> . Can CodeSourcery g++ Lite toolchain be used together with eCos config tool in Windows?
>
> . Which version of the CodeSourcery g++ Lite toolchain should be used with eCos?
I have succesfully used Sourcery G++ Personal to compile and link eCos
in Windows. The graphical config tool works. I assume the latest version
of SG++ Lite also works, but you'll have to test this.
It is a bit of a hassle, though.
1. SG++ is a native Windows program, meaning it expects Windows paths.
Fortunately, it also supports CygWin paths. To enable this, the
"cygpath" utility (installed with CygWin) must be made available:
1.1 Append your CygWin "/bin" directory to Windows path (right-click on
My Computer, select "Properites", "Advanced", "Environment variables").
e.g. PATH="other stuff;C:\cygwin\bin"
1.2 Add a Windows system variable named "CYGPATH". Set it's value to
"cygpath".
1.3 Start a new CygWin termial, verify that Bash shell can see both
changes you made.
2. You need to add SG++ system headers to eCos. Before you do this the
project should be cleaned.
In eCos configuration tool, under "Configuration", "Global build
options", "Global compiler flags" following options should be added:
-isystem /cygdrive/c/Program\ Files/CodeSourcery/Sourcery\ G++\
Lite\lib/gcc/m68k-elf/4.3.3/include
-isystem /cygdrive/c/Program\ Files/CodeSourcery/Sourcery\ G++\
Lite\lib/gcc/m68k-elf/4.3.3/include-fixed
This assumes SG++ is installed to "C:\Program
Files\CodeSourcery\Sourcery G++ Lite" and the GCC version is 4.3.3.
Update this to match your setup.
3. Then ask the linker to not use it's standard library. Click on
"Global linker flags". Add flag "-nostdlib".
Now save the configuration and select "Build", "Generate build tree".
4. Do not start the build from within configtool because it will not
pass environment variables to compiler.
Instead, start a CygWin terminal, navigate to your eCos build directory,
cross your fingers and type "make -j4".
I may have forgotten some details, but this should be the bulk of it.
--
Kind regards,
Tarmo Kuuse
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] Re: Questions about CodeSourcery g++ Lite tool chain and eCos
2011-04-08 10:57 ` [ECOS] " Tarmo Kuuse
@ 2011-04-08 11:19 ` Tarmo Kuuse
0 siblings, 0 replies; 7+ messages in thread
From: Tarmo Kuuse @ 2011-04-08 11:19 UTC (permalink / raw)
To: ecos-discuss
On 08.04.2011 13:57, Tarmo Kuuse wrote:
> -isystem /cygdrive/c/Program\ Files/CodeSourcery/Sourcery\ G++\
> Lite\lib/gcc/m68k-elf/4.3.3/include
> -isystem /cygdrive/c/Program\ Files/CodeSourcery/Sourcery\ G++\
> Lite\lib/gcc/m68k-elf/4.3.3/include-fixed
Oh, and replace the "m68k-elf" with your architecture.
--
Kind regards,
Tarmo Kuuse
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos
@ 2011-04-05 7:53 Eigil Krogh Sørensen
0 siblings, 0 replies; 7+ messages in thread
From: Eigil Krogh Sørensen @ 2011-04-05 7:53 UTC (permalink / raw)
To: ecos-discuss
Hi
. Is it possible to use CodeSourcery g++ Lite toolchain for eCos? I would like to use that because the compiler is newer, gcc-4.5.1, than the gnutools for ARM, that comes with eCos, gcc-4.3. gcc-4.5. can make code ARM11 and Cortex-R/A.
. Can CodeSourcery g++ Lite toolchain be used together with eCos config tool in Windows?
Best
EISOR
\Eigil
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-04-08 11:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-05 7:57 [ECOS] Questions about CodeSourcery g++ Lite tool chain and eCos Eigil Krogh Sørensen
2011-04-05 8:22 ` Stefan Sommerfeld
2011-04-05 12:59 ` Eigil Krogh Sørensen
2011-04-07 12:58 ` Stefan Sommerfeld
2011-04-08 10:57 ` [ECOS] " Tarmo Kuuse
2011-04-08 11:19 ` Tarmo Kuuse
-- strict thread matches above, loose matches on Subject: below --
2011-04-05 7:53 [ECOS] " Eigil Krogh Sørensen
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 read-only IMAP folder(s) and NNTP newsgroup(s).