sci.crypt
  Home FAQ Contact Sign in
sci.crypt only
 
Advanced search
December 2006
motuwethfrsasuw
    123 48
45678910 49
11121314151617 50
18192021222324 51
25262728293031 52
2006
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
sci.crypt Profile…
RELATED GROUPS

POPULAR GROUPS

 Up
  Using Miracl under the Linux environment         


Author: Samson
Date: Dec 17, 2006 23:23

Hello, every one.

I met some trouble when I make a program using Miracl under the Linux
evironment. To be honest, I am not familiar with Linux. I wrote an
algorthm named app.cpp. In the file app.cpp I used the functions such
as mr_init_threading(), mr_free(), etc., provided by Miracl. I can
compile the program like this g++ -I. -c -O2 app.cpp there's no
problem. But, when I try to turn it into an executive program, there
are many "undefined reference"errors. I use the order like this: g++ -I
app.cpp ecn.o zzn.o big.o miracl.a -o app. anybody who has the
experience using the miracl under linux please do me a favour. Thanks a
lot!
2 Comments
  Re: AES code in Sparc assember         


Author: Casper H.S. Dik
Date: Dec 17, 2006 02:18

David Taylor yadt.co.uk> writes:
>With gcc you can tell it to produce assembler. Alternatively, compile
>to object code and disassemble.
>Of course, it probably won't be as efficient as painstakingly hand-tuned
>assembler.

Especially when you use gcc which does not produce very efficient SPARC
code. The (free) Sun compilers generally generate much better SPARC
code (assemly with the -S switch). The latest compilers even produce
some comments as to what they did and why.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
no comments