EmbDev.net

Forum: ARM programming with GCC/GNU tools VISTA + YAGARTO => Problem


von Thomas S. (1stern)


Rate this post
useful
not useful
Hi,

I installed the latest YAGARTO on a W2K Laptop and it worked.
The I installed the Yagarto (incl. OpenOCD and IDE) on a VISTA Laptop
and it did not work.

Testing the tool chain as recommended produces
(A)
correct result on
arm-elf-gcc --version

(B)
but fails with
arm-elf-gcc main.c
arm-elf-gcc: CreateProcess: No such file or directory

Using the existing example ethernut3test from the YAGARTO site, also
fails.
The error msg is:

**** Build of configuration Default for project Ethernut3Test ****

make all
arm-elf-gcc -x assembler-with-cpp -c -mcpu=arm7tdmi -g -gdwarf-2
-Wa,-amhls=src/crt.lst   src/crt.s -o src/crt.o
arm-elf-gcc: CreateProcess: No such file or directory
make: *** [src/crt.o] Error 1


HOW TO CONVINCE VISTA TO MAKE IT WORK?

Awaiting your contribution and thanks indeed.
T.

von Thomas S. (1stern)


Rate this post
useful
not useful
Hi,

I managed to improve the situation.I added to
C:\Program Files\yagarto\bin;

the following PATH entries
C:\Program Files\yagarto\arm-elf\bin;
C:\Program Files\yagarto\libexec\gcc\arm-elf\4.2.1;

Now, when building with the eclipse the error msg is

**** Build of configuration Default for project Ethernut3Test ****

make all
arm-elf-gcc -x assembler-with-cpp -c -mcpu=arm7tdmi -g -gdwarf-2
-Wa,-amhls=src/crt.lst   src/crt.s -o src/crt.o
arm-elf-gcc -c -mcpu=arm7tdmi -O0 -gdwarf-2 -mthumb-interwork
-fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm
-Wa,-ahlms=src/main.lst   -MD -MP -MF .dep/main.o.d -I . -I./inc
src/main.c -o src/main.o
arm-elf-gcc ./src/crt.o ./src/main.o -mcpu=arm7tdmi -nostartfiles
-T./prj/ethernut3_ram.ld -Wl,-Map=test.map,--cref,--no-warn-mismatch
-o test.elf
ld: cannot find -lc
make: *** [test.elf] Error 1

ANY SUGGESTIONS??
Thanks indeed.
T.

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
Thomas Schulte wrote:
> ...
> ANY SUGGESTIONS??

Maybe the "workarounds" provided by WinARM-users help:
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/ search for
"WinARM and Microsoft Vista". Since the GNU tools in Yagarto are built
very similar to those in WinARM the given methods should be usable for
the GNU tools from Yagarto too. (Sorry, no "first hand information",
currently I do not have access to a PC running Vista).

Martin Thomas

von Thomas S. (1stern)


Rate this post
useful
not useful
Hi Martin,

thanks for your reply.

Actually I included the recommendations you refered to already as you
can see in the second posting. But still it is hanging in somewhere.

Obviously this may have to do with VISTA doing more rigorous checks on
Paras. Very often the tools working fine under w2k/XP do not resolve the
correct folders. This is just a guess from my side.

I switched back to WinArm for the moment, but I would prefer to use the
more recent Yagarto compilation.

If someone here around can point to some sources of help - very much
welcome.

Cheers,
Thomas

von Al A. (aminvsky)


Rate this post
useful
not useful
Thomas Schulte wrote:
> Hi Martin,
>
> thanks for your reply.
>
> Actually I included the recommendations you refered to already as you
> can see in the second posting. But still it is hanging in somewhere.
>
> Obviously this may have to do with VISTA doing more rigorous checks on
> Paras. Very often the tools working fine under w2k/XP do not resolve the
> correct folders. This is just a guess from my side.
>
> I switched back to WinArm for the moment, but I would prefer to use the
> more recent Yagarto compilation.
>
> If someone here around can point to some sources of help - very much
> welcome.
>
> Cheers,
> Thomas

I just want to share my succes running eclipse on vista after working
with errors for days, but i don't know if this can help your problem.
 - computer        : laptop, compaq presario v3504
 - OS              : vista
 - development kit : olimex board for at91sam7s6a
 - dongle          : arm-usb-ocd from olimex
 - software        : the latest softwares from http://www.yagarto.de/
 - project         : "demo_at91sam7_p64_blink_flash" from
atmel_tutorial_source
 - refference      : Using Open Source Tools for AT91SAM7S Cross
Development revision C

what i'm doing is :
1.installing latest yagarto's software

2.adding the following path in environment variables :
  C:\Program Files\yagarto\libexec\gcc\arm-elf\4.2.1;
  C:\Program Files\yagarto\arm-elf\bin;
  C:\Program Files\yagarto\bin;
  C:\Program Files\yagarto\arm-elf\include
  C:\Program Files\yagarto-tools-20070303\bin;
  C:\Program Files\yagarto;
  C:\Program Files\openocd-2007re204\bin;
  C:\Program Files\openocd-2007re204\utils\bin;
3.restarting the computer. (to test if gcc and make are working, use
windows command line : gcc -v and make -v)

4.modifying the makefile, (it took me a long time to know this) :
change CFLAGS  = I.\ -c -fno-common -O0 -g
to     CFLAGS  = -c -fno-common -O0 -g

5.clean the project, then build all

von Michael F. (mifi)


Rate this post
useful
not useful
Hello,

I have create a new version of YAGARTO which should work
with Vista too. The new version is from 17.11.2007.

Based on:

- binutils-2.17
- newlib-1.15.0
- gcc-4.2.1
- insight-6.5.50

I have downgrade the Insight from 6.6 to 6.5.50 here,
because I have some problems with the 6.6

You should NOT install YAGARTO or the other tools in the
"Program Files" or "Programme" directory.

If you install it inside "Program Files", some files will not
be found, like an init.tcl file. In this case Insight is not
working.

The YAGARTO IDE is working too, here I have used the latest
Java JRE (1.6.0_03-b05).

You do not need adding the path like the message above.

Best regards,

Michael

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.