Search:

Type: Posts; User: Pea

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Elf and Linking

    by Pea
    Replies
    0
    Views
    1,433

    Elf and Linking

    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...
  2. Thread: Elf and linking

    by Pea
    Replies
    6
    Views
    1,482

    No problem. I would have done the same :). I'll...

    No problem. I would have done the same :). I'll try the linux board too.

    Cheers,
    Pea
  3. Thread: Elf and linking

    by Pea
    Replies
    6
    Views
    1,482

    Yeah, sorry, if its any consolation, development...

    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...
  4. Thread: Elf and linking

    by Pea
    Replies
    6
    Views
    1,482

    Thanks CWR, though why so nasty? My ARM device...

    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...
  5. Thread: Elf and linking

    by Pea
    Replies
    6
    Views
    1,482

    Elf and linking

    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...
  6. Replies
    2
    Views
    1,105

    structure of a compiled binary

    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...
  7. Thread: uclibc and gcc

    by Pea
    Replies
    2
    Views
    1,568

    FYI: I have since done a lot more research and...

    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...
  8. Thread: uclibc and gcc

    by Pea
    Replies
    2
    Views
    1,568

    uclibc and gcc

    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...
  9. Replies
    0
    Views
    4,054

    Fixed point MOD (for sin LUT)

    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....
  10. Replies
    2
    Views
    2,695

    Thanks! This was the eventual direct link:...

    Thanks!

    This was the eventual direct link: http://www.eskimo.com/~scs/C-faq/q15.5.html
  11. Replies
    2
    Views
    2,695

    sprintf-like function

    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...
  12. Replies
    21
    Views
    16,216

    My point exactly

    My point exactly
  13. Replies
    21
    Views
    16,216

    @Jez - Yip, that was one of my theories....

    @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...
  14. Replies
    21
    Views
    16,216

    Salem, still a happy camper I see. This is a...

    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...
  15. Replies
    11
    Views
    5,471

    Jeez, just a big bag full of happy fluffies...

    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...
  16. Replies
    11
    Views
    5,471

    How many CPU cycles (ARM) for add vs if..then

    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...
  17. Replies
    21
    Views
    16,216

    Thanks guys, but the argument to float or not to...

    Thanks guys, but the argument to float or not to float is a different one. Just after the quickest method...
  18. Replies
    21
    Views
    16,216

    :rolleyes:

    :rolleyes:
  19. Replies
    21
    Views
    16,216

    Thanks guys. I'll give it a go. I'll have to...

    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' ?
  20. Replies
    21
    Views
    16,216

    Fastest float to int conversion

    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...
  21. Replies
    10
    Views
    15,317

    Hi guys, Thanks for all the debate and help...

    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)...
  22. Replies
    6
    Views
    3,070

    Correct, but it got rid of my compiler warnings....

    Correct, but it got rid of my compiler warnings.

    Thanks for your help!
  23. Replies
    6
    Views
    3,070

    I did it like this: typedef struct...

    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)(...
  24. Replies
    6
    Views
    3,070

    Thanks for the quick reply. Firstly, sorry -...

    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...
  25. Replies
    6
    Views
    3,070

    declaring function pointer types for callbacks

    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...
Results 1 to 25 of 36
Page 1 of 2 1 2