1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Nicky Boum Engine

Discussion in 'Cool Ideas and other wishes' started by Yono, Jan 3, 2007.

  1. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,489
    Location:
    France, near Lyon
    there is no debug info ("no "-g" in compile options I guess), so nothing really useable here.
     
  2. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    1,815
    Location:
    Ankh-Morpork
    @ptitSeb : I don't understand, debug info should be in there...

    I used the following default flags in the Makefile:

    CFLAGS = -g -O -std=c89 -pedantic -Wall

    Regarding gdb --args, I tried it before but that didn't work, the binary couldn't find its data files.

    Cheers, Magic Sam
     
  3. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,489
    Location:
    France, near Lyon
    maybe there a strip command in the Makefile, or the link is with "-s" (so it's stripped again). Or maybe the stack is completely corrupted when the segfault occurs...
     
  4. sebt3

    sebt3 homebrew player (P. & C.)

    Joined:
    Sep 9, 2008
    Messages:
    4,561
    Location:
    France
    Nor to anyone of us. compile it with debugging symbol, reproduce ;)

    EDIT: ninja'd by the boss of all
     
  5. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    1,815
    Location:
    Ankh-Morpork
    @ptitSeb : I don't think the binary is stripped (I could be wrong though...):
    I'll check the Makefile again, just to be sure :)

    Cheers, Magic Sam
     
    shaddim likes this.
  6. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    7,489
    Location:
    France, near Lyon
    I have just compile it to check the segfault... but it does run on my side. I don't think I have sound, and I'm not sure it's normal.. But no segfault for the 10 sec I tried it.
     
  7. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    1,815
    Location:
    Ankh-Morpork
    Hi all,

    @ptitSeb : I'm glad you have a working version :) Feel free to release it !

    I wonder why mine segfaults though... Maybe our data files differs ?
    Cheers, Magic Sam
     

Share This Page

Loading...