euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] late night thoughts on a fragment in C



    Fred JamesSat Sep 8 20:12:41 PDT 2007

    larry price wrote:
    
    >you want to use
    >
    >gcc C.c -oC -lm
    >
    >to make it load the library correctly.
    >
    >
    >
    >On 9/8/07, Fred James <fredjame at fredjame.cnc.net> wrote:
    >  
    >
    >>larry price wrote:
    >>
    >>    
    >>
    >>>#include <math.h>
    >>>#include <stdio.h>
    >>>main()
    >>>  {
    >>>  int i=5;
    >>>  for(;i;) printf("%c ",(int)(81+7.3*sin(i---5.75)));
    >>>}
    >>>
    >>>certain aspects of computing are fundamentally arbitrary,
    >>>
    >>>http://pastebin.com/f1b9fa8dc
    >>>
    >>>
    >>>
    >>>      
    >>>
    >>Larry Price
    >>I may be missing something ... compiling the above (gcc C.c -o C)
    >>resulted in ...
    >>~/tmp/ccKXlIHx.o: In function `main':
    >>C.c:(.text+0x2d): undefined reference to `sin'
    >>collect2: ld returned 1 exit status
    >>
    >>Could this be a C++ thing? (I followed the link provided and the comment
    >>style is C++).
    >>Regards
    >>Fred James
    >>
    >>Mandriva 2007
    >>gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
    >>
    >>    
    >>
    Larry Price
    Thank you - what interested me most was another/different look at the 
    for loop.
    Regards
    Fred James
    
    
  • [Eug-lug] OT: Eugene Celebration



    LinuxRocks!Sat Sep 8 18:41:11 PDT 2007

    I wish I read this earlier! I was there, I saw larry, and I saw brian,
    Im not sure if I saw other luggers... but there very likely could have
    been.
    Jamie
    On Fri, Sep 07, 2007 at 09:49:39PM -0700, Allen Brown wrote:
    > Date: Fri, 07 Sep 2007 21:49:39 -0700
    > From: Allen Brown <abrown at peak.org>
    > To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    > Subject: [Eug-lug] OT: Eugene Celebration
    > 
    > I will be piloting my spinner as my team pilots my KangaRex in the
    > Eugene Celebration.  Maybe I will see some of you there.  I will
    > be wearing yellow suspenders.  (Always do.)
    > -- 
    > Allen Brown  abrown at peak.org  http://brown.armoredpenguin.com/~abrown/
    >   Men occasionally stumble over the truth, but most of them pick
    >   themselves up and hurry off as if nothing ever happened.
    >   --- Winston Churchill
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] late night thoughts on a fragment in C



    larry priceSat Sep 8 13:12:58 PDT 2007

    you want to use
    
    gcc C.c -oC -lm
    
    to make it load the library correctly.
    
    
    
    On 9/8/07, Fred James <fredjame at fredjame.cnc.net> wrote:
    > larry price wrote:
    >
    > >#include <math.h>
    > >#include <stdio.h>
    > >main()
    > >   {
    > >   int i=5;
    > >   for(;i;) printf("%c ",(int)(81+7.3*sin(i---5.75)));
    > >}
    > >
    > >certain aspects of computing are fundamentally arbitrary,
    > >
    > >http://pastebin.com/f1b9fa8dc
    > >
    > >
    > >
    > Larry Price
    > I may be missing something ... compiling the above (gcc C.c -o C)
    > resulted in ...
    > ~/tmp/ccKXlIHx.o: In function `main':
    > C.c:(.text+0x2d): undefined reference to `sin'
    > collect2: ld returned 1 exit status
    >
    > Could this be a C++ thing? (I followed the link provided and the comment
    > style is C++).
    > Regards
    > Fred James
    >
    > Mandriva 2007
    > gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
    >
    >
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] late night thoughts on a fragment in C



    Fred JamesSat Sep 8 13:08:47 PDT 2007

    larry price wrote:
    
    >#include <math.h>
    >#include <stdio.h>
    >main()
    >   {
    >   int i=5;
    >   for(;i;) printf("%c ",(int)(81+7.3*sin(i---5.75)));
    >}
    >
    >certain aspects of computing are fundamentally arbitrary,
    >
    >http://pastebin.com/f1b9fa8dc
    >
    >  
    >
    Larry Price
    I may be missing something ... compiling the above (gcc C.c -o C) 
    resulted in ...
    ~/tmp/ccKXlIHx.o: In function `main':
    C.c:(.text+0x2d): undefined reference to `sin'
    collect2: ld returned 1 exit status
    
    Could this be a C++ thing? (I followed the link provided and the comment 
    style is C++).
    Regards
    Fred James
    
    Mandriva 2007
    gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
    
    
    
    
  • [Eug-lug] late night thoughts on a fragment in C



    larry priceSat Sep 8 00:23:57 PDT 2007

    #include <math.h>
    #include <stdio.h>
    main()
       {
       int i=5;
       for(;i;) printf("%c ",(int)(81+7.3*sin(i---5.75)));
    }
    
    certain aspects of computing are fundamentally arbitrary,
    
    http://pastebin.com/f1b9fa8dc
    
  • [Eug-lug] OT: Eugene Celebration



    Allen BrownFri Sep 7 21:49:39 PDT 2007

    I will be piloting my spinner as my team pilots my KangaRex in the
    Eugene Celebration.  Maybe I will see some of you there.  I will
    be wearing yellow suspenders.  (Always do.)
    -- 
    Allen Brown  abrown at peak.org  http://brown.armoredpenguin.com/~abrown/
       Men occasionally stumble over the truth, but most of them pick
       themselves up and hurry off as if nothing ever happened.
       --- Winston Churchill
    
  • [Eug-lug] Those Dang DPCs Clogging the MMCSS



    Bob CrandellFri Sep 7 06:48:30 PDT 2007

    On Thu, 2007-09-06 at 15:25 -0700, Garl Grigsby wrote:
    > Bob Crandell wrote:
    > >
    > > My Windows guy is a Microsoft groupie.  He upgraded Vista to XP after a
    > > week.
    > >
    > > I've compared notes with other consultants in the area and the number of
    > > them that actually like and recommend Vista can be counted on one hand.
    > >
    > (And they don't like people, right?)
    $ure they do $$$$.
    
    
  • [Eug-lug] tux.euglug.org outage now() til now()+14hrs



    laprice at gmail.comThu Sep 6 18:02:01 PDT 2007

    tux.euglug.org is going in for a checkup the euglug.org website and
    the euglug mailing list will be unavailable from now until the machine
    returns to the colo sometime tomorrow morning.
    
    THANK YOU FOR YOUR PATIENCE.
    
    
    
  • [Eug-lug] free Hauppauge WinTV pci card



    Mike CherbaThu Sep 6 15:40:33 PDT 2007

    It ought to be.  Don't think anything shuold kill it.  I just wanted to
    play around with some TV stuff.
    		-Mike
    
    There are three kinds of death in this world. There's heart death,
    there's brain death, and there's being off the network. --- Guy Almes
    
    On Thu, 2007-09-06 at 15:35 -0700, Alan Crandall wrote:
    > At 02:40 PM 9/6/2007, you wrote:
    > >I'd love to play with one of those for a while.
    > >                 -Mike
    > would it still be in 1 piece when you are done with it ? :)
    > if so,I could use it,thanks ! 
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
    
  • [Eug-lug] free Hauppauge WinTV pci card



    Alan CrandallThu Sep 6 15:35:42 PDT 2007

    At 02:40 PM 9/6/2007, you wrote:
    >I'd love to play with one of those for a while.
    >                 -Mike
    would it still be in 1 piece when you are done with it ? :)
    if so,I could use it,thanks !