TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Benny Pedersen
from: Maurice Kinal
date: 2006-06-25 20:05:44
subject: Hpt and new 64bit compile

Hey Benny!

Jun 25 19:26 06, Benny Pedersen wrote to Maurice Kinal:

 MK>> I used 32-bit libs to compile husky stuff.

 BP> why ?

Because most of the fido stuff is 16-bit.  Unless you plan to rewrite all
the code to compensate for 64-bit addressing etc. then you'll have to stick
to the 32-bit libs since the conversions are already there to 32-bit.  For
example an int in DOS is 16-bit which is a short in 32-bit whereas a short
in 64-bit is 32-bit not 16-bit.

 BP> Tobias Ernst says all husky is 64bit clean, but this may have changed 
 BP> ?

Really?  I'll have to check.

 MK>> Also I didn't put any of the husky libs on the system and instead 
 MK>> have them running and linked in it's own enviroment.

 BP> show me :-)

Sure.  Bring some beer when you come.  ;-)

I'll happily write up a 'howto' as to how I did it if you'd like and nobody
has an issue with it in this echo.

 BP> on gentoo all 64bit gcc is multilib unless USE="-multilib"

Yes but it doesn't matter if both 32-bit and 64-bit libs aren't available
on the build system.

 BP> prove this, since i should see this problem as mail hoster when 
 BP> amavisd unpacks zipped mail attachments, i still have to see problems 
 BP> in that content

Try compiling any DOS related source and see what happens.  A good start
would be to port mtools or syslinux to pure 64-bit without altering the
source.  I'll bet it can't be done.

 MK>> I also built a 32-bit unzip in the Fido enviroment just to keep the 
 MK>> DOS-think people happy but kept the outbound pkts as raw ftn format 
 MK>> just to play it safe.

 BP> always good :-)

For sure.  That turned out to be the wisest idea.

 MK>> Bottomline is that 16-bit apps are a real bugger to port to a pure 
 MK>> 64-bit system.  Much easier to do to 32-bit then to 64-bit.

 BP> thats why DOSBOX is good :-)

Nah!  Don't need no stinkin' DOSBOX!!!

 MK>> Life is good,

 BP> no 64bit is life :-)

Actually I am having fun with it.  Managed to port multimedia apps to
64-bit at the expense of breaking all the win32 codecs.  BONUS!!!  :-)

My pci soundcard works.

Life is good,
Maurice

--- Msged/LNX 6.2.0
* Origin: The Pointy Stick Society XVII - When I was ... (1:261/38.9)
SEEN-BY: 633/267 270
@PATH: 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.