List Info

Thread: Re: NASM 64-bit Support is HERE!!!




Re: NASM 64-bit Support is HERE!!!
country flaguser name
United States
2007-04-17 15:27:54
anonymous coward wrote:
> 
> Can we please eliminate this kind of crap from NASM's
source code?
> 
> There is very little reason for compiler-specific code
like this.
> All it tends to do is cause problems on other
machines/platforms.
>

As long as it's appropriately protected (which this wasn't),
it's not a 
huge deal.  Hardly worth it, though.

>> We really should get rid of those data types and
use uint32_t et al instead.
> 
> The highest level of portability is achieved via C89 +
long long.
> At least that is my experience from several years of
NASM64 work.
> 

Breaks on Win98.

If a platform is missing <inttypes.h>, it's trivial to
create one for 
the platform.

	-hpa

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Nasm-devel mailing list
Nasm-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nasm-devel

Re: NASM 64-bit Support is HERE!!!
country flaguser name
United States
2007-04-17 19:30:23
> > The highest level of portability is achieved via
C89 + long long.
> > At least that is my experience from several years
of NASM64 work.
> 
> Breaks on Win98.

I'd like to see proof for that claim.
Can I send you two simple test EXEs (Cygwin/GCC v2.95.2 and
MSC v13)?

> If a platform is missing <inttypes.h>, it's
trivial to create one for 
> the platform.

Only as long as the C compiler offers a native 64-bit
integer type.
Otherwise you'd have to use e.g. C++ to "implement
one".
Which of course would be the opposite direction (from
"just C89").



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Nasm-devel mailing list
Nasm-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nasm-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )