.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
Re: compile GNU/Linux binaries in Windows
Old
  (#21)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: compile GNU/Linux binaries in Windows - 27-02-2005

The PDP-11 is too new anyway. How do I cross compile for the ENIAC?


sfx1999.postcount++

Last edited by sfx1999; 27-02-2005 at 06:42..
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#22)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: compile GNU/Linux binaries in Windows - 27-02-2005

"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
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#23)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: compile GNU/Linux binaries in Windows - 27-02-2005

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.


sfx1999.postcount++
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#24)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: compile GNU/Linux binaries in Windows - 11-04-2005

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


=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#25)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: compile GNU/Linux binaries in Windows - 14-06-2005

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
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#26)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: compile GNU/Linux binaries in Windows - 01-07-2005

Whislter where is setvars.bat file? I can't compile in this way.
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#27)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: compile GNU/Linux binaries in Windows - 01-07-2005

use this command:
path c:\gcc-gnulinux\bin;%path%
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#28)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: compile GNU/Linux binaries in Windows - 01-07-2005

Could you make it so that the install dir is changeable ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#29)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: compile GNU/Linux binaries in Windows - 01-07-2005

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%
  
Reply With Quote
Re: compile GNU/Linux binaries in Windows
Old
  (#30)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: compile GNU/Linux binaries in Windows - 01-07-2005

I'm not sure. The GNU linker is weird. Whistler certainly knows more about it.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com