Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to The Linux/FreeBSD MBSE BBS Suppo...  <--  <--- Return to Home Page
   Networked Database  The Linux/FreeBSD MBSE BBS Suppo...   [55 / 554] RSS
 From   To   Subject   Date/Time 
Message   Vince Coen    Sampsa Laine   Ticket #9 - Compilation issues on weird platforms..   October 31, 2016
 1:52 AM *  

Hello Sampsa!

Saturday October 29 2016 22:35, you wrote to All:

It has been passed to me but my programming intray is still reasonably 
moderate
to heavy so have not got around to it.

That said I am aware that it does not like CPU's other than the basic and nor
for that matter platforms.

In my odd moments have been playing around to get it to work-ish on OSX 10.11 
El Capitain) but with minimal effect.

Had to go back to sorting out the code for ACAS for which I have a target for
end of the year.

How many CPU's are you running and with what architecture?

Vince


 > Hi Guys,

 > Not sure if you guys still read this echo but I'm running MBSE 1.0.6
 > and I can across a few some minor inconveniences in the compilation
 > process, mainly that if it doesn't recognise the CPU it naturally
 > doesn't know to call it and what the signal names on that platform
 > are.


 > So I would say the problems fall under two show-stopping categories:

 > II. Unnecessary(?) #error's if the CPU is "not one of the above"

 > In a number of places, the code does a #ifdef to determne the CPU type
 > and whilst I'm impressed by the number of platform supported IBM S/390
 > and/or z/Series aren't represented (not that I'm surprised, I'm
 > probably the only person in the world running MBSE on any kind of
 > zLinux.

 > Anyway instead of #error'ing out of the whole compile, I changed the
 > bits which are CPU sensitive to instead throw a #warn "Unknown CPU,
 > assuming IBM S/390" [of course this should probablysay some
 > differnet].

 > So from lib/strutil.c:399:2: error: #error "Unknown CPU" I do:

 > File: lib/strutil.c, starting at line 398>

 > 398: #else
 > 399: #warning "Unknown CPU - defaulting to IBM S/390"
 > 400:     return (char *)"IBM S/390";
 > 401: #endif
 > 402: }

 > I did these/similar changes to these files:

 >     lib/signame.c
 >     lib/strutil.c
 >     mbmon/mbmon.c
 >     mbtask/signame.c

 > (I just used the signal name array for x86, not ideal but I really
 > didn't have the time to look up the exact Debian/s390x versions - this
 > shouldn't be too strenuous)

 > Conclusion
 > ----------

 > On the plus side, I've been running MBSE 1.0.6 on Debian/s390x for
 > months at a time without a problem, so nothing too vital seems to be
 > broken.

 > I would however suggest that you look into those void*<->int casts
 > because that could break on other platforms as well..


Vince

--- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
 * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to The Linux/FreeBSD MBSE BBS Suppo...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0831 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_8fc96pddpe20v5qq0043ouig34, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_8fc96pddpe20v5qq0043ouig34, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_8fc96pddpe20v5qq0043ouig34, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0