Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Other operating systems
Other operating systems [message #19374] Sat, 29 November 2008 14:26 Go to next message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
I'm interested to use on other operating systems like AIX, HP-UX, xBSD, ...
Do your think portage on theses platforms are possible or not ?
I will try it soon.

cocob

[Updated on: Sat, 29 November 2008 14:26]

Report message to a moderator

Re: Other operating systems [message #19381 is a reply to message #19374] Sat, 29 November 2008 21:49 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi,

right now I am porting it to OpenBSD and I will also do for NetBSD and DragonflyBSD.

If you only want to use it, then I would recommend FreeBSD which is the oldest supported BSD system.

Of course it would be nice trying to port it to other platforms, please go ahead I am willing to help you if I can.

Regards,
Matthias
Re: Other operating systems [message #19382 is a reply to message #19374] Sat, 29 November 2008 22:02 Go to previous messageGo to next message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
Yes more platforms is nice but like i said in an other post ( http://www.ultimatepp.org/forum/index.php?t=msg&th=4008& amp;start=0&) i think we must introduce the notion of architecture. For example in solaris we must know if we are building for SPARC or X86. In HP-UX for RISC or IA64, ...
Re: Other operating systems [message #19383 is a reply to message #19382] Sat, 29 November 2008 22:09 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
With the automatic build method setup, it is theoretically possible to detect the underlying architecture, but it is not supported right now (at least AFAIK).

However, you can always define your architecture flag for the compiler you use, e.g. I use march=pentiumpro.

Matthias
Re: Other operating systems [message #19384 is a reply to message #19374] Sat, 29 November 2008 22:49 Go to previous messageGo to next message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
Yes no problem for the compiler option, but it would be nice that theIde add a flag during the build to encapsulate code with #ifdef or manage package organiser

for example

GCC LINUX X64


instead of

GCC LINUX


cocob
Re: Other operating systems [message #19385 is a reply to message #19384] Sat, 29 November 2008 23:05 Go to previous messageGo to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
cocob wrote on Sat, 29 November 2008 23:49

Yes no problem for the compiler option, but it would be nice that theIde add a flag during the build to encapsulate code with #ifdef or manage package organiser

for example

GCC LINUX X64


instead of

GCC LINUX


cocob


What happen when you want to build 32 bit app. on 64 bit platform? That's why the build is customizable and you can add build flags for a package particularly and for all packages, anyway it isn't that hard to set a flag in TheIDE for every package, is it?


cdabbd745f1234c2751ee1f932d1dd75
Re: Other operating systems [message #19388 is a reply to message #19374] Sun, 30 November 2008 11:27 Go to previous messageGo to next message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
No it isn't. It's like a do actually but i thought it would be great to not have a X86 flag on SPARC or a X64 flag on PPC. Really this is complicated to find a way to work in all cases.
Re: Other operating systems [message #19415 is a reply to message #19388] Tue, 02 December 2008 18:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cocob wrote on Sun, 30 November 2008 05:27

No it isn't. It's like a do actually but i thought it would be great to not have a X86 flag on SPARC or a X64 flag on PPC. Really this is complicated to find a way to work in all cases.


Maybe we can relly a little bit more on predefined macros:

http://gcc.gnu.org/onlinedocs/cpp/System_002dspecific-Predef ined-Macros.html#System_002dspecific-Predefined-Macros

Mirek
Re: Other operating systems [message #19421 is a reply to message #19415] Tue, 02 December 2008 22:17 Go to previous messageGo to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
http://predef.sourceforge.net/index.php
Different predefined macros(compilers, O.S., cpu, etc).


cdabbd745f1234c2751ee1f932d1dd75
Re: Other operating systems [message #19448 is a reply to message #19421] Thu, 04 December 2008 12:33 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
bytefield wrote on Tue, 02 December 2008 16:17

http://predef.sourceforge.net/index.php
Different predefined macros(compilers, O.S., cpu, etc).


Good find, thanks.

I guess that bloody ugly start of Core.h can and should be refactored...

Mirek
Previous Topic: printing on linux: missing preview?
Next Topic: WinAPI UNICODE question
Goto Forum:
  


Current Time: Fri Mar 29 09:00:04 CET 2024

Total time taken to generate the page: 0.02696 seconds