Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Sooner or later I'm gonna have to get round to...

    Sooner or later I'm gonna have to get round to checking for the death of traced & potentially hooked processes, what would be the suggestions for when I get to that point for both systems
  2. This is the new state of the function, I'm not...

    This is the new state of the function, I'm not expecting there to be issues but posting it on the off chance I overlooked something.


    PAW_SHARED struct paw_app* paw_boot_app( void *ud, char const...
  3. ty :)

    ty :)
  4. Launching programmes in Win32 & Linux/Unix/Posix

    I've got this:


    PAW_SHARED struct paw_app* paw_boot_app( void *ud, char const * const path, char *argv[], char *envp[] )
    {
    #ifdef PAW_WIN32
    /* Not supported yet */
    return NULL;
    #else
    int...
  5. Replies
    26
    Views
    657

    I'm late to see this but yeah I noticed that...

    I'm late to see this but yeah I noticed that sometime between my post and actually fixing the issue, after that I got sidetracked with fixing the issue with initializing liblpaw via lua

    Edit: Thx...
  6. Replies
    26
    Views
    657

    Finally managed to fix the issue by setting rpath...

    Finally managed to fix the issue by setting rpath to $(LIB_DIR) instead of .
  7. Replies
    26
    Views
    657

    I think I solved the previous issue but to...

    I think I solved the previous issue but to confirm I need to get passed one that popped up now:


    ...
    gcc -I ./include -L ./lib -fPIC -shared -o lib/libpaw.so src/app.c.o src/apps.c.o...
  8. Replies
    26
    Views
    657

    I think I solved the previous issue but to...

    I think I solved the previous issue but to confirm I need to get passed one that popped up now:


    ...
    gcc -I ./include -L ./lib -fPIC -shared -o lib/libpaw.so src/app.c.o src/apps.c.o...
  9. Replies
    26
    Views
    657

    Started writing the lua wrapper for paw and ran...

    Started writing the lua wrapper for paw and ran into a problem with library locations, here's what I have right now:


    include dir.mak
    include $(MAK_DIR)/sys/sys.mak
    include $(MAK_DIR)/cc/cc.mak...
  10. Thread: dir.mak

    by awsdert
    Replies
    0
    Views
    187

    dir.mak

    Finally thought of a way to avoid explicitly declaring CLONED_DIR to make when I invoke it and figured maybe others would want to copy the idea &/or improve it, here's the file:



    TOP_DIR?=.
    ...
  11. Replies
    26
    Views
    657

    Well that's more than I got, kept getting...

    Well that's more than I got, kept getting directed to sys/reg.h (which I'm currently attempting to use but is not going well).

    Side question, anyone see why this would skip the loop?


    #if...
  12. Replies
    26
    Views
    657

    Trying to add support for register grabbing in...

    Trying to add support for register grabbing in paw but currently get a compiler error even after referencing a guide, the compiler error is that it cannot find <machine/reg.h> which is needed for the...
  13. Replies
    26
    Views
    657

    I shoulda reloaded the page 1st huh? Whoopsie

    I shoulda reloaded the page 1st huh? Whoopsie
  14. Replies
    26
    Views
    657

    Never mind, I misunderstood the 2nd parameter of...

    Never mind, I misunderstood the 2nd parameter of qsort(), thought it was total size but was just the count of elements
  15. Replies
    26
    Views
    657

    New problem, same library, might as well post...

    New problem, same library, might as well post here.
    Hitting a segfault but I'm not seeing what I did wrong, I'm assuming I miss-allocated but I rather than just throw memory at the problem to shut...
  16. Replies
    26
    Views
    657

    For anyone wandering the segfault was caused by...

    For anyone wandering the segfault was caused by me forgetting to call paw_init( NULL ) which sets the allocator function pointer, paw_load_app() relied on that function but the pointer started as...
  17. Replies
    26
    Views
    657

    Thank you, I'll give that a try Edit: Went...

    Thank you, I'll give that a try

    Edit: Went with a variant, cd'd into the directory and ran with the prior command I had already tried, got a segmentation fault so gonna see if I can track down...
  18. Replies
    26
    Views
    657

    There's makefiles in each directory that simply...

    There's makefiles in each directory that simply launch a new instance of make in either the directory above or if in the project directory the main *.mak file which holds all the targets, this is to...
  19. Replies
    26
    Views
    657

    Another problem being experienced, tried to...

    Another problem being experienced, tried to actually run the app I was compiling and linking to libpaw (one that checks that libpaw does as expected) and ld or whatever it was couldn't find libpaw, I...
  20. Replies
    26
    Views
    657

    Found out what I overlooked, the library needed...

    Found out what I overlooked, the library needed to be linked with -shared option set, the code needed to be compiled with the -fPIC option set
  21. Replies
    26
    Views
    657

    Aside from the "extern" bit that looks like it...

    Aside from the "extern" bit that looks like it amounts to the same deal though? I'll try anyways

    Edit: Nope, didn't resolve it, what it looks like now btw:


    #ifdef PAW_BUILD_STATIC
    # define...
  22. Replies
    26
    Views
    657

    nm libpaw.so gave me this: 000000000000039c...

    nm libpaw.so gave me this:


    000000000000039c r __abi_tag
    00000000000050d0 B __bss_start
    U close@GLIBC_2.2.5
    00000000000050d0 b completed.0
    w...
  23. Replies
    26
    Views
    657

    is all it can be #if defined(...

    is all it can be


    #if defined( PAW_BUILD_SHARED ) && defined( PAW_WIN32 )
    # define PAW_SHARED PAW_EXPORT
    #else
    # define PAW_SHARED
    #endif
    ...
    PAW_SHARED struct paw_app* paw_load_app( void...
  24. Replies
    26
    Views
    657

    What am I overlooking with my library?

    The output issue:


    make --no-print-directory CLONED_DIR=.. rebuild
    cd ../ && make rebuild
    make -f run.mak rebuild
    git -C ../mak pull
    Already up to date.
    rm -f ./bin/*.exe
    rm -f ./lib/*.dll
  25. Replies
    11
    Views
    355

    Oh wow, one of us was psychic, thx btw :)

    Oh wow, one of us was psychic, thx btw :)
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4