Convert the STR71x lib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-04-14 3:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-02-25 2:49 AM
The gcc compiler (or ld actually) complains about the str71xDL.lib when linking.
So I guess that RealView uses some other lib format. Is it possible to convert the libs, or do I have to recompile them? Any general info regarding different lib formats are welcome. :) /Beach- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-02-25 10:55 PM
You do not need to make many changes to rebuild these libs under gcc, we have done this in our free ide which will be available for download at www.anglia.com very soon. As soon as the webmaster uploads the files.
http://www.anglia.com/newsarchive/828.asp Regards sjo- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-03-02 8:34 PM
When trying to rebuild the libs under gnuarm's gcc I had
problems with the ''inline'' routines in the header files. I tried all the options I could find to enable inline routines but without success. The library builds OK, but then when I include those headers in my application the linker reports that multiple instances of those inline routines exist. This means that the compiler has generated code for the inline declaration in both the library and the application. The options that I have tried include: -Winline - but got no warnings -O3 'cause inline is not supported below this optim' level the 71x_conf.h file contains the line #define inline __inline and although that did not generate any error I tried changing that to: #define inline __inline__ but that did not help and even tried #define inline __attribute__ ((always_inline)) __inline__ but that still did not help although no errors were generated. help! :-? I am waiting in anticipation for the anglia tools, but delivery seems to be slow. I filled in the form more than a week ago and e-mailed them a request a week ago but still nothing. regards whh- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-03-02 8:53 PM
I have changed all the inline declarations to static.
Sorry about the delay for the toolchain, I am waiting the webmaster to upload the files, they have been ready a while. Regards sjo- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-03-06 8:55 PM
Yes inline is supported, I originally changed the function declarations to static inline because of compile problems.
I looked into it further and all you have to do is either comment out #define inline __inline in 71xconf.h or change to #define inline __inline__ for gcc. Just remembered why I changed declarations to static inline - when compiling as a lib you get link problems when linking with the library just produced. Regards sjo [ This message was edited by: sjo on 07-03-2005 11:12 ]- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-03-06 11:37 PM
I eventually got the inline thing to compile and link OK,
but have been unable to test the results because my JTAG device is playing up. I used #define inline __inline__ extern which I got from the following URL Has anyone had experience with the STR710 eveluation board and the Amontec Chameleon (Raven emulator)? Do they work together?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-03-06 11:38 PM
It works fine with the wiggler if thats any help.
Regards sjo- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-03-08 7:24 PM
Just FYI:
My problem was caused by a faulty JTAG adapter device. I now have Anglia's toolchain (thanks sjo) working with the Amontec (configured as a Raven) and the ST710 Evaluation board. :D whh- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-03-30 4:28 AM
How did you get all the asm files to compile under gnu? Is it another case of manually converting them to GNU As?
m@