Topic : gcc-c816 error: Couldn't compute FAST_CWD pointer

Forum : Ride IDE

Original Post
Post Information Post
September 6, 2016 - 12:17pm
Ulf Bierkämper

Hello,

just installed the latest Ride7 and C816 Kit.

Started simple hello world project, and got this error, after switching to gcc4.

Any ideas?

regards,

Ulf

----------------Make Started: 'Dispenser' in configuration 'Standard'-------------------------- 


Building C:\Users\Ulf\Documents\Leo\LeoToken\src\main.c
due to missing C:\Users\Ulf\Documents\Leo\LeoToken\main.o
Running: C816 Compiler
"c816-gcc.exe" -MD -D_EM6819_ "C:\Users\Ulf\Documents\Leo\LeoToken\src\main.c" -o "C:\Users\Ulf\Documents\Leo\LeoToken\main.o" -I "." -I "C:/Raisonance/Ride/GNU/c816-gcc/C816/INCLUDE" -I "C:/Raisonance/Ride//Lib/C816/templates" -c -funsigned-char -nostdinc -gdwarf-2 -O1 -msoftcall -mpage0-mvs=4 -BC:\Raisonance\Ride\GNU/c816-gcc/lib/gcc-lib/
0 [main] c816-gcc 9368 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to
the public mailing list
/GNU/c816-gcc/libexec/gcc/c816/4.4.0/cc1.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
Error Code: 0x1

Build failed

Replies
Post Information Post
+1
0
-1
September 8, 2016 - 10:31am
Etienne Cassin

Plain text iconEMBCxx_beacon_3_0_0_0_GCC4_Version_0_1.txtPDF iconEMBCxx_Beacon_WithGCC4_TechNote_0_1.pdfPDF iconGettingStartedC816_Ride7.pdf

Hello,

Actually the default compiler GCC in its version GCC3.2 cannot be used under windows 10.

There are two alternatives:

-          Using GCC version 3.2 : supported up to windows 8.1

-          Using GCC version 4.4 : supported by Windows 7, 8 and 10.

The GCC toolchain available since a quite long time now was based on GCC3.2 compiler. It now comes with the next release GCC4.4.

For different reasons it might be useful to use GCC4.4 instead of GCC3.2.

1. GCC3.2 is not supported by Windows 10 and next coming Windows operation system

2. GCC3.2 maintenance is frozen.

3. All bug fixes and new features will only appear in upgrades of GCC version 4.4 (4.x, 5.x, etc.).

4. GCC4.4 offers some better optimization results (typically from 10 to 15% less code footprint produced)

Thanks to only few modifications (hopefully) in your project to comply with GCC4.4 you can port your firmware your from GCC3.2 to GCC4.4.

Most aspects of the modifications are explained in this attached document “Raisonance tools for C816 family – Getting Started” document [GettingStartedC816_Ride7.pdf file] in chapter 4.4. This file is also located under <RideInstallDir>\Raisonance \Ride\Doc\C816 folder.

I also add in attach a technical note (and its project source code) I wrote which summarizes the common changes to be applied. It is based on a specific firmware call “beacon” but as an example i guess it can be useful for a lot of ones.

So in case Win10 is a must,  I recommend that you:

- update your firmware to GCC4.2. Let me know if you need assistance

- run a short validation to make sure that the functionality is not modified by the new compilation.

3 attached files in this message:

1/3: PDF GettingStartedC816_Ride7.pdf file

2/3: PDF Technical Note EMBCxx_Beacon_WithGCC4_TechNote_0_1.pdf

3/3: Zipped Project folder EMBCxx_beacon_3_0_0_0_GCC4_Version_0_1.txt. Rename extension file *.txt to *.zip. Extract the zip file by using the following password     em

Regards,