Log in

View Full Version : Offset Independant RadASM with NASM included


OHPen
December 28th, 2007, 11:16
Hi,

in the company i work we use nasm for coding. starting with nasm i just used a plain text editor and compiled and linked manually in console. after a few days i really got bored by all this time consuming step. i decided to use a assembler ide and in my opinion there is no real good one out. nevertheless radasm is the best alternative.

i started setting radasm up in order to be able to use it with nasm. everthing was fine but then i was forced to rearrange the directories on my computer and had to set up different directories and setting files again.

THIS REALLY SUCKS !!!

i decided to try to modify radasm that it would compile my nasm projects where every it is placed and where ever nasm is placed with out need to use absolute directories.

TATA

there we go. just copy the NASMToGo - Edition of RadASM where you want to have it. load a project and press build. it should work.

no more directory adjustments
no loss of time for senseless troubleshooting with the ide
etc.
etc.

inside the radasm dir you will find the compiler directory i included. i contains the current nasm version ( not yasm - because there is a new nasm version out - YEAH !) and the microsoft linker version 7. the only thing you will have to change is if you plan to use additional libraries. in that case i suggest to modifiy the project settings of your project to fit your needs.

thats all, nothing more.

i dunno whether this is interesting for someone of you guys but for me it will save lot of time in future.

use it or leave it,

regards,

OHPen aka PAPiLLiON

JMI
December 28th, 2007, 13:15
Thanks for sharing you efforts with our readers.

May I suggest you also add your tools to the New Collaborative RCE Tool Library, with some comments on the workings of your tool! I'm sure it would be much appreciated by many who might not otherwise find it in the Threads.

Regards,

OHPen
December 28th, 2007, 17:36
i hope it will be useful for someone.

i added it to the collaborative tools.

here is the link:
http://www.woodmann.com/collaborative/tools/RadASM_-_NASMToGo_Edition

regards,

OHPen

PS: I also want to mention that all the work is done by KetilO the developer of RadASM. I simply modified his software to fit my needs.

JMI
December 28th, 2007, 18:42
Thanks for adding it to the Collaborative Tools and you can always give credit to KetilO as the developer of RadASM in your notation, if you haven't already.

Regards,

hitlar
September 5th, 2008, 08:22
Assemble give no error but when i link this give error :-

when, i search compiler\Bin\lib directory then win32.lib file doesn't exit in any edition only user32.lib file exit.

how will i remove this bug.

LINK : fatal error LNK1181: cannot open input file 'D:\nasm_rad\RadASM_NASMToGo_Edition\Nasm\Projects\..\compiler\Bin\lib\win32.lib'

OHPen
September 8th, 2008, 08:04
@hitlar: when i'm at home i will take a look, dunno what the problem actually is, because i don't know what project settings you use but i assume that you try to link against a library which is not present in that directory. You should try to remove the library from the setting of your project. if it then links everything is fine, but if you get an error of an unresolved symbol you have to add a library again which provides the necessary code, usually libc.lib, and so on.....

Just try it if it does not work i will take a closer look.

Regards,

OHPen

bolzano_1989
October 8th, 2011, 10:17
Quote:
[Originally Posted by hitlar;76853]Assemble give no error but when i link this give error :-

when, i search compiler\Bin\lib directory then win32.lib file doesn't exit in any edition only user32.lib file exit.

how will i remove this bug.

LINK : fatal error LNK1181: cannot open input file 'D:\nasm_rad\RadASM_NASMToGo_Edition\Nasm\Projects\..\compiler\Bin\lib\win32.lib'


I have the same error too.
Could someone give me a link to download the win32.lib required, thanks a lot.

JMI
October 8th, 2011, 14:45
How about you use a little "personal" inititive and put "win32.lib" [without the quote marks] in your favorite search engine, instead of asking someone else to do that work for you???

That is what is expected of those who post on these forums.

You did read the BIG LETTER INSTRUCTIONS at the top of the Forums, didn't you?

Regards,

bolzano_1989
October 9th, 2011, 03:26
Actually, I have searched that "win32.lib" and download the one from the following link:
http://alink.sourceforge.net/files/win32lib.zip
and extract it to the corrensponding directory:
RadASM_NASMToGo_Edition\Nasm\compiler\bin\lib
But there is still the problem I have faced while linking in an nasm project.
I think OHPen has another "win32.lib", so I asked for his help here because his package lacks this file.