Results 1 to 4 of 4

Thread: Recompiling on Windows with BCC -- help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    11 N 78 E
    Posts
    110
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Recompiling on Windows with BCC -- help

    I have a Linux ANSI C package -- an app which #include-s to a lot of header files and c files as dependencies -- I have a makefile which allows me to just type make pan and it will compile everything I need using GCC and link and then give me the executable which I want.

    This works beautifully on Linux.

    I need to recompile now on Windows. I did successfully complete that too using Cygwin make but with that port I need to include the cygwin1.dll whose size is relatively big for download for people with slow connections here in India.

    So I would like to compile on Windows without cygwin dll dependency.

    I have the Borland C++ Build 5.5 Free Command Line Tools, but since it does not handle make I do not know what procedure I should use to compile my program. If I simply say compile this program, will it automatically compile the c files that the program accesses via the header files?

    Please help me -- I have attached the makefile as a txt (I'm surprised Qtcenter.org declared the plain makefile without extension as an invalid file).
    Attached Files Attached Files
    Penguin #395953 using Qt for open-source development on X11 using C++ and
    Python via PyQt

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Recompiling on Windows with BCC -- help

    Maybe you should try MinGW? It also requires a DLL, but a small one.

  3. #3
    Join Date
    Jan 2006
    Location
    11 N 78 E
    Posts
    110
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Recompiling on Windows with BCC -- help

    Quote Originally Posted by jacek
    Maybe you should try MinGW? It also requires a DLL, but a small one.
    MinGW does not require a DLL, but its output was much smaller than the Cygwin output. (65% reduction in zip-compressed size.) Thanks for the tip, Jacek!
    Penguin #395953 using Qt for open-source development on X11 using C++ and
    Python via PyQt

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Recompiling on Windows with BCC -- help

    Quote Originally Posted by jamadagni
    I'm surprised Qtcenter.org declared the plain makefile without extension as an invalid file.
    It's impossible with the current version of vBulletin.

Similar Threads

  1. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 22:05
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. Opening text file fails after autostartup on windows
    By yogourta in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2008, 03:52
  4. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  5. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.