.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Programming (http://forums.bots-united.com/forumdisplay.php?f=25)
-   -   compile GNU/Linux binaries in Windows (http://forums.bots-united.com/showthread.php?t=3626)

sfx1999 27-02-2005 03:06

Re: compile GNU/Linux binaries in Windows
 
The PDP-11 is too new anyway. How do I cross compile for the ENIAC?

Whistler 27-02-2005 03:19

Re: compile GNU/Linux binaries in Windows
 
"The PDP-11 is to new anyway. How do I cross compile for the ENIAC?"
I don't think ENIAC uses software :) AFAIK you have to change the hardware to make programs in ENIAC

for PDP-11 there are several emulators and nowadays AT&T UNIX is free software, so you may find those ones :)

sfx1999 27-02-2005 05:45

Re: compile GNU/Linux binaries in Windows
 
Oops! I just fixed an error in my last post.

Anyway, I think it is kind of funny that GCC supports the PDP-11. I mean, the machine is so damn old. I have never even seen one.

FrostyCoolSlug 11-04-2005 05:15

Re: compile GNU/Linux binaries in Windows
 
As a note, mingw won't nessecerily compile ALL linux apps to windows, for example, anything which acts as a socket server (for whatever reason) requires the use of winsock, NOT the standard *nix socket.h you can use defines for it all, but it will get messy. For use in bots, its a 'quick fix', but don't expect it to hold out too well, POSIX is still a long way from being ported properly to windows (Hence the larger files).

As another note, cygwin doesn't support Shared Objects.. its a lose lose situation if you have something with both ;)

Whistler 14-06-2005 15:21

Re: compile GNU/Linux binaries in Windows
 
I've rebuilt the compiler and now it is GCC 2.95 so that it can build HPB bot straightly... and there is also no need to use "-static" now

you may want to redownload it

The Storm 01-07-2005 11:53

Re: compile GNU/Linux binaries in Windows
 
Whislter where is setvars.bat file? I can't compile in this way. :(

Whistler 01-07-2005 13:14

Re: compile GNU/Linux binaries in Windows
 
use this command:
path c:\gcc-gnulinux\bin;%path%

Pierre-Marie Baty 01-07-2005 17:09

Re: compile GNU/Linux binaries in Windows
 
Could you make it so that the install dir is changeable ?

The Storm 01-07-2005 19:14

Re: compile GNU/Linux binaries in Windows
 
Quote:

Originally Posted by Pierre-Marie Baty
Could you make it so that the install dir is changeable ?

I think that is only needed to change the command :

path c:\gcc-gnulinux\bin;%path%

with the dir that you are moved the folder.
For drive D: it will be :

path D:\gcc-gnulinux\bin;%path%

Pierre-Marie Baty 01-07-2005 19:50

Re: compile GNU/Linux binaries in Windows
 
I'm not sure. The GNU linker is weird. Whistler certainly knows more about it.


All times are GMT +2. The time now is 00:13.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.