tell me more. do you just run /usr/bin/gcc or are there separate compilers you
must use? from what I remember, the makers of GCC seem to think gcc is designed
to be in one spot on the system.
I have no idea what kind of commandlines you would use for the different OS
output you want. I don't suppose there is actually help and easy documentation
on how to do that stuff rather than reading in gcc's manual all of gcc's
switches (which doesn't tell me anything)...
I am still trying to break into some areas of multi-platform coding like mac
and linux (I guess that never ends - just look at boost headers). I already
have DOS and Windows covered.
by the way, I am now offering my mingw,mingw-w64,borland c++, djgpp compiler
wrapper batch files at https://sourceforge.net/projects/compilerwrapper/
>________________________________
> From: Ruben Van Boxem <[email protected]>
>To: [email protected]
>Sent: Wednesday, March 28, 2012 2:44 AM
>Subject: Re: [Mingw-w64-public] need 32+64-bit target ubuntu compiler for
>32-bit windows host
>
>
>2012/3/28 Jim Michaels <[email protected]>
>
>I will tell you why I want to. I have over 50 personal software projects I
>work on currently, and I would like to be able to offer them multi-platform.
>I hope that's a good enough reason for you. It's also going to be at least a
>year (I said this last year) before I can even GET a 64-bit windows box to
>even run the vityan windows x64-hosted linux/freebsd compilers. it is
>something I need - to be able to generate mac executables, etc on windows.
>>
>>so if someone can come up with an x32-windows-hosted ubuntu and maybe a
>>freebsd compiler, I could use that. at least I could include the binaries in
>>my software distributions.
>>
>>my biggest problem with mac stuff is all those resource files that go with
>>those binaries and the strange directory structures required to make an app
>>run. and
then there's the cocoa vs the other app style, and ppc vs intel and the
various builds of OSX. and I wonder what it takes just to build a commandline
app.
>>
>>offering the linux compiler for only x64 systems only covers people with x64
>>systems. some developers don't have access to x64 machines. the auto builds
>>offer compilers for both x64 and x32 hosted OS's. this is good.
>>
>>I am not usually thinking about just myself, there are probably others who
>>need this. just make it available and watch the download rates. also, make
>>it clear what the compiler is and what it does, and what platform it runs
>>on. the readme file for the vityan compiler is fairly good in this respect.
>>
>
>Get a Fedora VM. They provide packages for cross-compilers for ... everything
>(Cygwin, Mac, Windows x86 and x64).
>
>Ruben
>
>
>>
>>
>>
>>
>>>________________________________
>>> From: Whitequill Riclo <[email protected]>
>>>To: [email protected]
>>>Sent: Tuesday, March 27, 2012 9:25 AM
>>>Subject: Re: [Mingw-w64-public] need 32+64-bit target ubuntu compiler for
>>>32-bit windows host
>>>
>>>
>>>
>>>
>>>
>>>On Tue, Mar 27, 2012 at 8:32 AM, Earnie Boyd <[email protected]>
>>>wrote:
>>>
>>>On Mon, Mar 26, 2012 at 5:38 PM, Whitequill Riclo
>>>><[email protected]> wrote:
>>>>>
>>>>> On Sun, Mar 25, 2012 at 8:37 PM, NightStrike <[email protected]>
>>>>> wrote:
>>>>>>
>>>>>> On Sun, Mar 25, 2012 at 2:18 PM, JonY <[email protected]>
>>>>>> wrote:
>>>>>> > On 3/26/2012 07:17, Jim Michaels wrote:
>>>>>> >> vityan provided a compiler set for 64-bit windows host for ubuntu and
>>>>>> >> freebsd 32 and 64-bit targets.
>>>>>> >> my problem is, I have a 32-bit windows. also, not everybody has a
>>>>>> >> 64-bit system or can afford one.
>>>>>> >>
>>>>>> >> please provide a compiler set also for 32-bit. thank you.
>>>>>> >> I would like the ability to start compiling code for linux platforms
>>>>>> >> from my windows machine.
>>>>>> >> I don't know how to make an RPM. I also don't know what kind of
>>>>>> >> installer ubuntu uses.
>>>>>> >>
>>>>>> >
>>>>>> > Compiling code for Linux from Windows is really off-topic here. Your
>>>>>> > best bet is to build the compiler yourself, seeing that you already
>>>>>> > have
>>>>>> > the libc parts from Vityan.
>>>>>>
>>>>>> Actually, this is very on topic. Jim, we'd love to support your
>>>>>> efforts. We had a user here who tried to provide toolchains to do
>>>>>> exactly that. I will find out what hte status is.
>>>>>
>>>>>
>>>>> I've been working on a cross compiler to build Linux binaries on Windows.
>>>>> So far I have a cross to build Windows executable, on Linux.
>>>>>
>>>>
>>>>People have tried and failed with mingw.org as well. We have never
>>>>understood why you would want to. Just get a VM with Linux in it to
>>>>build on Windows in Linux.
>>>>
>>>>
>>>>> 1) Linux >>builds>> Win64/32
>>>>> 2) Win64/32 >>builds>> Linux
>>>>>
>>>>
>>>>1) --host = Linux --target = Win64/32 --build = Linux
>>>>2a) --host = Win64/32 --target = Linux --build = Linux
>>>>
>>>>
>>>> I'm to the bootstrapping stage2 compiler to building the I have the Windows
>>>>> binutils '.exe' files, and I'm having trouble with "how to's" of boot
>>>>> strapping and building windows exe files with the compiler.
>>>>> Then it needs to compile its self? on linux? or Windows? or WINE?
>>>>> I found a --bootstrap-stage1-bubble command, and finally have got it to
>>>>> build gmp with it, but it doesn't recognize MPFR.
>>>>>
>>>>
>>>>Which did you use 2a or 2b? I would imagine 2a to be easier to get
>>>>GCC to build but once built you still need all of the Linux libraries
>>>>and headers on Win32/64. For 2b you need the Linux libraries and
>>>>headers o Win32/64 before you begin the build of GCC.
>>>>
>>>
>>>
>>>I'm using 1, to try and build... here:
>>>http://pastebin.me/c589420d23daa3d5ddbe15e58e03b0ab that is what I've been
>>>doing.
>>>
>>>>--
>>>>Earnie
>>>>-- https://sites.google.com/site/earnieboyd
>>>>
>>>>
>>>>------------------------------------------------------------------------------
>>>>This SF email is sponsosred by:
>>>>Try Windows Azure free for 90 days Click Here
>>>>http://p.sf.net/sfu/sfd2d-msazure
>>>>_______________________________________________
>>>>Mingw-w64-public mailing list
>>>>[email protected]
>>>>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>>>
>>>
>>>
>>>------------------------------------------------------------------------------
>>>This SF email is sponsosred by:
>>>Try Windows Azure free for 90 days Click Here
>>>http://p.sf.net/sfu/sfd2d-msazure
>>>_______________________________________________
>>>Mingw-w64-public mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>>
>>>
>>>
>>------------------------------------------------------------------------------
>>This SF email is sponsosred by:
>>Try Windows Azure free for 90 days Click Here
>>http://p.sf.net/sfu/sfd2d-msazure
>>_______________________________________________
>>Mingw-w64-public mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>>
>
>------------------------------------------------------------------------------
>This SF email is sponsosred by:
>Try Windows Azure free for 90 days Click Here
>http://p.sf.net/sfu/sfd2d-msazure
>_______________________________________________
>Mingw-w64-public mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public