AVR32 Studio - Library Problem

Gast #596107
Hi folk,

I have a small problem:

When I am creating a Managed Make C-Project, I can add easily a library 
in the GCC C-Linker Options (Project Properties -> C/C++ Build -> GCC C 
Linker/ Libraries -> "pthread" and "upnp"). Further, i have a extra 
directory with all 'include files' in the Project-View (Binaires, 
Includes, Debug, SourceFiles,...).

This is not the problem, but when I am creating a "Managed Make AVR32 C 
Project" for the AP7000/ STK1000, its impossible to add the libraries 
(Project Properties -> C/C++ Build --> AVR32/GNU Linux C Linker). I have 
absolute no idea, why it doesnt work and I am doing the same.

The libraries are saved as well in the /usr/lib/ as in /usr/local/lib/ 
directories.

Thanks in advance for any help.

Cheers,

Pete

PS: I am using Fedora Core 6 and AVR Version 0.9 and 1.0. It doesnt 
matter for wich Version I will get a solution.

PSPS: Antworten werden auch auf Deutsch akzeptiert ;-)
Hi Pete,

the problem is probably that you want to add precompiled 'shared' 
libraries to your project which have not been compiled for the target 
architecture (i.e. AVR32) but for your host (e.g. x86).

Get the library sources, compile them for AVR32 and then try to include 
them.

Cheers,

Florian

Antwort schreiben

Eine eigene Frage? Dieser Thread ist über 19 Jahre alt. Stell sie in einem eigenen Thread – dort lesen mehr Leute mit, und sie wird öfter und schneller beantwortet.

Neuen Thread starten

Eine Lösung, Ergänzung oder Rückmeldung zu diesem Thread? Dann antworte hier.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.