It is currently Tue Jul 14, 2020 11:00 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Create 32-bit + 64-bit executables
PostPosted: Sun Mar 08, 2020 11:27 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Mar 10, 2013 3:01 pm
Posts: 693
Location: Portugal
Hello Fred,

Could you add an option to the menus in all platform versions of IDE?:
Create 32-bit executable...
Create 64-bit executable...

This way we would only need to install one version of PB and compile for both cores.


Top
 Profile  
Reply with quote  
 Post subject: Re: Create 32-bit + 64-bit executables
PostPosted: Sun Mar 08, 2020 3:45 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14065
Location: France
Just install both version and use a project with 2 target to compile both exe automatically.


Top
 Profile  
Reply with quote  
 Post subject: Re: Create 32-bit + 64-bit executables
PostPosted: Sun Mar 08, 2020 7:39 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3141
Location: United Kingdom
There needs to be a tutorial about this as it would be useful. The same goes for making Linux too, this may be possible on Windows 10 as you can run linux command line.

_________________
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system


Top
 Profile  
Reply with quote  
 Post subject: Re: Create 32-bit + 64-bit executables
PostPosted: Sun Mar 08, 2020 10:23 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2553
Location: Germany
To compile Linux programs, the complete GCC compiler and all developer files must also be available.
These are not available under window. So it is not possible to call the Linux compiler from Windows.

Sorry,
But sometimes I have the impression that some people have little understanding of how different OS work.

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Create 32-bit + 64-bit executables
PostPosted: Sun Mar 08, 2020 10:25 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3141
Location: United Kingdom
Hmmm...

https://developerinsider.co/compile-c-p ... indows-10/

_________________
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system


Top
 Profile  
Reply with quote  
 Post subject: Re: Create 32-bit + 64-bit executables
PostPosted: Sun Mar 08, 2020 11:01 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2553
Location: Germany
I don't know if it is enough to use the GCC compiler alone.
This includes all the libraries for gtk2, gtk3, webkit, and many more

I think it is more reliable to have a Linux installation on a VM.

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Create 32-bit + 64-bit executables
PostPosted: Mon Mar 09, 2020 9:28 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14065
Location: France
Yes you need a lot of dependencies, gcc alone won't be enough.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye