Using CC task

Help
2002-09-26
2013-04-24
  • Rabih El Chaar

    Rabih El Chaar - 2002-09-26

    Hello, i'm a newbie trying to use cpptask instead of make.
    i'm using cygwin for gcc.

    my goal is to create a shared library.
    However, while running ant, i get a .so library, instead of .dll. I've tried to set some variable to windows, but that doesn't seem to work.

    1) is it normal that the library has extension .so ?

    2) where can i find some Build.xml examples for building C++, this will be of greate help.

    Thanks in advance.

     
    • Franz Fehringer

      Franz Fehringer - 2005-02-15

      Hello,

      How can i convince ant/cpptasks to show me the real compiler call with options and arguments instead of
      [exec] [cc] [<filename>]?

      Greetings

      Franz

       
      • Austin Hastings

        Austin Hastings - 2005-03-17

        ant -verbose -debug will emit the compiler command and all the arguments as single strings:

        gcc -foo -bar
        '-foo'
        '-bar'

        Very useful, but it's mixed in with the other debug output, which can be quite verbose.

         
    • Franz Fehringer

      Franz Fehringer - 2005-02-15

      Sorry, should not have been sent as answer.

       
    • conor

      conor - 2005-03-17

      i would also like to see some simple xml file explaining how to implement it.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks