Hi all,
Sorry for the double post (this is also in the general c board). I was told this was a better board to ask around in :). I have been reading up on ELF and googling for the last few...
Type: Posts; User: Pea
Hi all,
Sorry for the double post (this is also in the general c board). I was told this was a better board to ask around in :). I have been reading up on ELF and googling for the last few...
No problem. I would have done the same :). I'll try the linux board too.
Cheers,
Pea
Yeah, sorry, if its any consolation, development is all in c - plus there are many,many members here so i hoped someone could help.
Thanks guys - the link from CWR is an email address so I will...
Thanks CWR, though why so nasty?
My ARM device has nothing to do with linux, and ELF isn't linux specific.
Also, i have been googling ELF and linkers for a few weeks, and for some reason have...
Hi all,
I am cross compiling for an ARM device and don't have access to the dloopen/dlsym etc functions to manipulate shared ELF libraries - what I do have is access to libelf.
I am wondering...
Hi all,
I am using a GCC cross-compiler toolchain to compile for an ARM target.
I am interested in learning about the structure of the compiled binary file. Does anybody have any links to this...
FYI: I have since done a lot more research and the answers are:
uclibc contains pretty much everything that glibc (and libc) do that are not device dependant. uclibc is built for tiny filesize...
Hi all,
I am using GCC to compile for ARM. I am by no means an expert in this field :)
I have a toolchain that works fine and dandy, and I think it uses a standard sort of 'libc.a' for all the...
Hello all,
I have a fixed-point function (16.16) that calculates SIN and COS from a lookup table. However, since the LUT is in the range 0-360 (degrees), how do I convert an arbitrary angle (e.g....
Thanks!
This was the eventual direct link: http://www.eskimo.com/~scs/C-faq/q15.5.html
Hi guys,
I need to write a wrapper for sprintf which accepts an arbitrary number of inputs (like sprintf does) and then pass these on to the wrapped sprintf function itself.
How do I do this...
My point exactly
@Jez - Yip, that was one of my theories. (However, quazah doesn't mention a power of 2, or bit shifting, but rather division - which is hell slow).
@pianorain - This is because say the step size...
Salem, still a happy camper I see.
This is a personal project, so I am hardly going to hire somebody. Also, if someone asks a question like "how do I step through all the letters in my name in...
Jeez, just a big bag full of happy fluffies aren't you salem :)
Thanks for all the help and debate guys. I compile with the O2 flag in gcc for ARM. I will compile the code and get back with some...
Hi all,
Once again the ARM guy is back with another random question :)
I am implementing a blitting routine that supports transparency (ON..OFF only, not full levels). I am wondering if...
Thanks guys, but the argument to float or not to float is a different one. Just after the quickest method...
:rolleyes:
Thanks guys. I'll give it a go. I'll have to look up some of those assembler instructions thought :)
I knew there was a faster way than a cast
BTW, whats 'union convert' ?
Hi guys,
This is probably more of an ASM question. Once again I am using ARM, no hardware floats (all software). Does anyone have a fast technique for converting float to int?
I don't mind if...
Hi guys,
Thanks for all the debate and help etc!
I clip the bitmap if it moves over the LCD border, so sometimes the source (bitmap) data is unaligned, and sometimes the destination (LCD)...
Correct, but it got rid of my compiler warnings.
Thanks for your help!
I did it like this:
typedef struct tGPD_widget* pGPD_widget;
typedef void (*eGPD_onButtonPress)( pGPD_widget, unsigned short, unsigned short, char, char);
typedef void (*eGPD_onMouseIn)(...
Thanks for the quick reply.
Firstly, sorry - tGPD_widget* (pointer to tGPD_widget) is what I originally intended to be passed in, not the struct itself.
Secondly, it compiles now (by adding the...
Hi all,
I am implementing some events (callbacks), and have come across a problem that I daresay has a simple solution.
The problem is that one of the inputs into my callback function is a...