Brew Arm Tools (Arm Librarian) | developer.brewmp.com Brew Arm Tools (Arm Librarian) | developer.brewmp.com

Developer

Brew Arm Tools (Arm Librarian)

Forums:

Hi Guys,
I noticed that the Brew Arm compiler doesn't come with the arm librarian (Armlib). Does anyone know where i can get this from? or a free version that works with the Real View Compilation Tools for Brew V1.2?
- Skavenger

As far as I know, armlib is not part of BREW Builder, but if you will purchase full ARM Developer Suite (ADS) from arm.com you will get librarian as part of suite.

As far as I know, armlib is not part of BREW Builder, but if you will purchase full ARM Developer Suite (ADS) from arm.com you will get librarian as part of suite.

Thanks for repling,
Thats the conclusion i had come to. Does anyone know of a free version that can combine .o's to a .lib?
- Skavenger.

Thanks for repling,
Thats the conclusion i had come to. Does anyone know of a free version that can combine .o's to a .lib?
- Skavenger.

Why do you need ARM library? What are you trying to accomplish? If you are trying to use CRT functions, then you shouldn't be even using CRT finctions from ARM lib. BREW provides helper functions for large number of CRT functions.

Why do you need ARM library? What are you trying to accomplish? If you are trying to use CRT functions, then you shouldn't be even using CRT finctions from ARM lib. BREW provides helper functions for large number of CRT functions.

at a wild guess, i'd say hes trying to make a lib file ;)
i haven't come across anything that'll do it, but i wouldn't be suprised if theres something opensource that can be modded to do it

at a wild guess, i'd say hes trying to make a lib file ;)
i haven't come across anything that'll do it, but i wouldn't be suprised if theres something opensource that can be modded to do it

Correct,
We have created a collection of .O files that we use across a range of products and instead of having to transfer (and version control) all of these files, we just wanted to .LIB them all together.
- Skavenger.

Correct,
We have created a collection of .O files that we use across a range of products and instead of having to transfer (and version control) all of these files, we just wanted to .LIB them all together.
- Skavenger.

I usually just include the .O files directly. It's not as elegant as a .LIB file, but it works just fine and since they don't change, version-controlling them isn't much of a problem either, especially since I keep them in a single, globally accessible directory.

I usually just include the .O files directly. It's not as elegant as a .LIB file, but it works just fine and since they don't change, version-controlling them isn't much of a problem either, especially since I keep them in a single, globally accessible directory.

Thats exactly what i'm doing at the moment. I was just hoping to tidy things up a bit though. Because at the moment i've got 4 object file directories coming off one piece of source code, which results in a total of about 180 .O files instead of just 4 .LIB's
- Skavenger

Thats exactly what i'm doing at the moment. I was just hoping to tidy things up a bit though. Because at the moment i've got 4 object file directories coming off one piece of source code, which results in a total of about 180 .O files instead of just 4 .LIB's
- Skavenger

Arm C compiler generates elf format .o files. Seems like GNU ar might work as a librarian. However, the elf format is somehow different enough that GDB won't load and recognize symbols in an Arm C compiled executable...
Anyhow, I suggest someone try gnu AR. The regular PC/cygwin/mingw version may work or you may need the GNUDE/ARM version.

Arm C compiler generates elf format .o files. Seems like GNU ar might work as a librarian. However, the elf format is somehow different enough that GDB won't load and recognize symbols in an Arm C compiled executable...
Anyhow, I suggest someone try gnu AR. The regular PC/cygwin/mingw version may work or you may need the GNUDE/ARM version.

Actually, now that you mention it... here's another idea.
Download the Embedded Visual C suite from Microsoft. It also creates compatible .O files. I believe there is a librarian as part of their package that may just work for your needs if you're lucky. As a matter of fact, I may try that myself as well, because that would be VERY cool.
In addition to that I am actually very surprised that no one seems ot have tried using Microsoft's Embedded Visual C suite to create Brew compilations, since it is free as well and though still not great, definitely a better compiler than GNU.

Actually, now that you mention it... here's another idea.
Download the Embedded Visual C suite from Microsoft. It also creates compatible .O files. I believe there is a librarian as part of their package that may just work for your needs if you're lucky. As a matter of fact, I may try that myself as well, because that would be VERY cool.
In addition to that I am actually very surprised that no one seems ot have tried using Microsoft's Embedded Visual C suite to create Brew compilations, since it is free as well and though still not great, definitely a better compiler than GNU.

Just thought i'd let you know that i've tested Arm-Elf-Ar from the gnude tools and it works with the .O files and the linker from Realview Compilation tools for brew.
Yay!
- Skavenger.
PS: Thanks for the help

Just thought i'd let you know that i've tested Arm-Elf-Ar from the gnude tools and it works with the .O files and the linker from Realview Compilation tools for brew.
Yay!
- Skavenger.
PS: Thanks for the help

Very cool. That means in essence that the Microsoft librarian will also work - just as I expected.

Very cool. That means in essence that the Microsoft librarian will also work - just as I expected.