Software testers needed...

This is a discussion on Software testers needed... within the C++ Programming forums, part of the General Programming Boards category; I would like to know if anyone would be willing to test an object file I have on different sets ...

  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,699

    Software testers needed...

    I would like to know if anyone would be willing to test an object file I have on different sets of compilers, and post the results to this thread, as I'm somewhat limited to the number of compilers available to me at the moment. I would really appreciate any help whatsoever.

    Thanks in advance.

    - Sebastian
    Last edited by Sebastiani; 12-28-2003 at 11:39 PM.
    Code:
    bool fun(bool value)
    {
        return std::pow(std::exp(1), std::complex<float>(0, 1) 
        * std::complex<float>(std::atan(1)*(1 << (value + 2))))
        .real() > 0;
    }

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,699
    Here is the object:
    Attached Files Attached Files
    Code:
    bool fun(bool value)
    {
        return std::pow(std::exp(1), std::complex<float>(0, 1) 
        * std::complex<float>(std::atan(1)*(1 << (value + 2))))
        .real() > 0;
    }

  3. #3
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Make the readme file plain-text please.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    What do you mean by "test an object file"?

    When I compile with gcc/linux, I get
    $ file parser.o
    parser.o: 80386 COFF executable not stripped - version 30821
    $ g++ -W -Wall parse.cpp parser.o
    parser.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status


    Sure I can tell what kind of object file it is, but there's no way for me to link against it.

    Additionally, each C++ compiler has different name mangling schemes, so even if the object file was compatible at the binary level, the actual names of the symbols are likely to be different.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,699
    I know that, I was trying to compile a list of platforms I had to generate object files for. Obviously, mac and 'nix-based systems will need their own versions, but for windows machines this object file should work most compilers since it was built with a standard gcc-based one (the mingw). What I *really* need are some conversion utilities that can do this patching in an automated sort of way. Hmmm...TODO.
    Code:
    bool fun(bool value)
    {
        return std::pow(std::exp(1), std::complex<float>(0, 1) 
        * std::complex<float>(std::atan(1)*(1 << (value + 2))))
        .real() > 0;
    }

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    Most people distributing libraries go with:
    - distribute source. Not a good idea if its proprietary.

    - distribute shrouded source. Some of the recent competition entries used shrouding ideas. It means the same to the compiler, but it is essentially unreadable to humans.

    - distribute object libraries pre-built for whatever platforms you want to support. You either need a lot of compilers installed, or a trusted group to build your library for the supported platforms.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    It's very hard to distribute object files when STL is involved.
    Different implementations will define list, pair, vector etc. in different ways.
    You will have to distribute one object file for every STL implementation.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Software Developer needed
    By blackmisery in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 08-04-2008, 02:54 AM
  2. Software Design/Test - Redmond, WA
    By IRVolt in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 06-11-2008, 10:26 AM
  3. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 08:09 AM
  4. Programmer Needed for Software Patch
    By dhigginbotham in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 07-26-2007, 04:06 PM
  5. What software is needed to write internet based gaming programs
    By grumpomatic in forum Game Programming
    Replies: 8
    Last Post: 11-26-2005, 09:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21