Professional Web Applications Themes

Cross-development of Windows 32-bit applications under FreeBSD? - FreeBSD

Is it possible to develop and build native Windows 32-bit applications under FreeBSD, using only command-line tools like gcc and other open-source components? -- Anthony...

  1. #1

    Default Cross-development of Windows 32-bit applications under FreeBSD?

    Is it possible to develop and build native Windows 32-bit applications
    under FreeBSD, using only command-line tools like gcc and other
    open-source components?

    --
    Anthony


    Anthony Guest

  2. #2

    Default Re: Cross-development of Windows 32-bit applications under FreeBSD?

    I don't know whether it is possible with only FreeBSD,
    however you can check whether you can run Visual
    Studio under the Wine emulator or use one of those
    cross-platform toolkits such as Qt or WxWidgets. The
    latter one will not give you Win32 binaries, but it's
    quite easy to port the code to Windows.
    Hope it helps.



    Michael Guest

  3. #3

    Default Re: Cross-development of Windows 32-bit applications under FreeBSD?

    Michael S writes:
     

    I'm trying to avoid Visual(Anything) since it costs around $2900, and
    that's hard to justify for just playing around with little applications.

    --
    Anthony


    Anthony Guest

  4. #4

    Default Re: Cross-development of Windows 32-bit applications under FreeBSD?

    On Sunday 10 April 2005 18:00, Anthony Atkielski wrote: 

    djgpp is a port of gcc which can compile dos exucatables, from the site

    "Yes, I know Windows is "the wave of the future", but I don't like it, so I
    don't support it. DJGPP is for making DOS programs, and if you can convince
    it to make a Windows program, good for you."

    how easy it would be to make windows executables I don't know.

    I would reckon your best bet would be to use something like lcc with some
    windows emulation, since you are going to want to test and debug it too. Even
    with that, I would feel very uncomfortable producing a windows program that I
    hadn't tested on a pure windows system.

    Cheers,
    Martin

    martinmcc@orbweavers.co.uk Guest

  5. #5

    Default Re: Cross-development of Windows 32-bit applications under FreeBSD?

    On Sun, Apr 10, 2005 at 08:37:39PM +0200, Anthony Atkielski wrote: 

    Using MinGW, you can write windows apps using the tools you know from
    FreeBSD. I'm using it to cross-compile freebsd-amd64 apps for windows.

    Applications (e.g. filters) that stick to the functionality of the
    standard C library can be easily cross-compiled for Windows. It also
    comes with headers and import libraries for win32 graphical apps.

    Roland
    --
    R.F. Smith /"\ ASCII Ribbon Campaign
    r s m i t h x s 4 a l l . n l \ / No HTML/RTF in e-mail
    http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
    public key: http://www.keyserver.net / \ Respect for open standards

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCWYlqEnfvsMMhpyURAtNMAJ40kCVzDghw98H8lT3U8/x09OrhUACdFpZw
    ITeiiySC/S+zTm35bz98VX0=
    =lSKA
    -----END PGP SIGNATURE-----

    Roland Guest

  6. #6

    Default Re: Cross-development of Windows 32-bit applications under FreeBSD?


    ----- Original Message -----
    From: "Anthony Atkielski" <fr>
    To: <org>
    Sent: Sunday, April 10, 2005 7:00 PM
    Subject: Cross-development of Windows 32-bit applications under FreeBSD?

     

    hm i dont know whether this is a solution for u but u can download turbo c
    and turbo cpp for dos from the borland ftp. its free and makes dos
    applications (without the need of extra dll, or sim)... with some
    modifikation its also possible to make win applications... cygwin is another
    solution...

    Lis Guest

  7. #7

    Default Re: Cross-development of Windows 32-bit applications under FreeBSD?

    On Mon, Apr 11, 2005 at 12:44:43AM +0200, Lis wrote: 
    >
    > hm i dont know whether this is a solution for u but u can download turbo c
    > and turbo cpp for dos from the borland ftp. its free and makes dos
    > applications (without the need of extra dll, or sim)... with some
    > modifikation its also possible to make win applications... cygwin is
    > another solution...[/ref]

    Perhaps running cygwin under wine would help (if it is at all
    possible)? You'll probably need access to native Windows DLLs
    instead of the wine libs though.

    BTW, if you really want to write cross-platform apps, you may consider
    using Qt (not kde!) or wxWidgets. Just develop under FreeBSD as usual,
    and then compile against the Windows versions of the libraries (Beware:
    Qt requires $$$$ for the Windows version last time I checked), using
    Cygwin, Borland C++ or Microsoft Visual C++ (under Wine, if you prefer
    and if it is possible).

    Good luck!
    -cpghost.

    --
    Cordula's Web. http://www.cordula.ws/
    cpghost@cordula.ws Guest

  8. #8

    Default Re: Cross-development of Windows 32-bit applications under FreeBSD?

    In the last episode (Apr 10), Anthony Atkielski said: 

    Check out /usr/ports/devel/mingw , which will install a gcc
    cross-compiler targeted to build native win32 binaries.

    --
    Dan Nelson
    com
    Dan Guest

Similar Threads

  1. Replies: 12
    Last Post: October 19th, 11:53 AM
  2. Cross platform development and Xtras
    By Morgan in forum Macromedia Director Basics
    Replies: 3
    Last Post: July 10th, 02:11 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139