View previous topic :: View next topic |
Author |
Message |
spyro1st n00b
Joined: 28 Mar 2003 Posts: 11
|
Posted: Tue Jan 04, 2005 10:08 pm Post subject: Compile request |
|
|
Hi i need a lib compiled but i can't get the compiler instructions right because i know too less about this stuff. here is the link to the source code. a header file for x86 GCC is included it's called mirdef.lnx. a bash script called linux takes this header file an trys to compile, but i allways get errors. maybe somebody here knows enough about the PPC architecture to compile this.
ftp://ftp.computing.dcu.ie/pub/crypto/miracl.zip
Thanks for help in advance.
Greets Kevin Moschallski |
|
Back to top |
|
|
_savage Guru
Joined: 06 Jun 2004 Posts: 308 Location: Redmond, WA
|
Posted: Fri Jan 07, 2005 4:25 pm Post subject: |
|
|
Heya,
what's that library for?
I had a look at the sources: it looks to me that there is no support for a PowerPC host. There are assembly sources included for Sparc, ARM and x86 architectures. If you need that library compiled for PowerPC, I think you'd need to sit down and rewrite the relevant source code files for PowerPC yourself
Cheers,
Jens _________________ Jens Troeger
http://savage.light-speed.de/ |
|
Back to top |
|
|
spyro1st n00b
Joined: 28 Mar 2003 Posts: 11
|
Posted: Sat Jan 08, 2005 6:29 pm Post subject: |
|
|
i need this lib to compile a blowfish plugin for xchat. i saw the ARM and other headers but i thought that these are only examples and because most of the source is in assembler it should possible to compile on powerpc. i will try to contact the author of the lib and ask him if it's possible to compile on powerpc. thanks for the look.
greets Kevin Moschallski |
|
Back to top |
|
|
_savage Guru
Joined: 06 Jun 2004 Posts: 308 Location: Redmond, WA
|
Posted: Sun Jan 09, 2005 8:34 am Post subject: |
|
|
you can't just "compile" assembly source for a different machine. assembly are basically the instructions for a specific processor, and every processor has different instructions wich have their own encoding. if you want to port assembly source to a new machine, you will end up implementing everything anew!
alternatively, sit down and rewrite the assembly source in, say, C or C++ and then you'll be able to compile it on many different machines.
cheers,
jens _________________ Jens Troeger
http://savage.light-speed.de/ |
|
Back to top |
|
|
|