The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: TmX on December 03, 2008, 03:31:41 AM

Title: Using RadAsm with Free Pascal
Post by: TmX on December 03, 2008, 03:31:41 AM
Thanks to RadAsm, now I have another IDE for Free Pascal (beside Lazarus)  :U

My problem is, I can't make RadAsm with FPC at the moment.
Here's my paths setup :
(http://i244.photobucket.com/albums/gg6/segmentationfault3/re1.png)

Then when I try to build the demo :
(http://i244.photobucket.com/albums/gg6/segmentationfault3/re2.png)

Any suggestions ?  ::)
Title: Re: Using RadAsm with Free Pascal
Post by: KetilO on December 03, 2008, 07:47:19 AM
Hi

RadASM is capable of setting up its own environment.

Update the environment to reflect your installation of Free Pascal.

1. Use Project / Set Assambler and select fp (or open a fp project).
2. Use Option / Environment Variables and set the path variable to:

C:\FPC\2.3.1\bin\i386-win32;

KetilO
Title: Re: Using RadAsm with Free Pascal
Post by: TmX on December 03, 2008, 09:26:14 AM
Ah that works. Many thanks!  :U

BTW, what's the purpose of App in the Paths Setup?
Is the Environment Variables not enough?

Title: Re: Using RadAsm with Free Pascal
Post by: KetilO on December 03, 2008, 12:51:08 PM
That depends on how project build options are configured. fp is by default set up to use environment.

The App acronyme is $A and can be used in build options, tools and help menu.

KetilO
Title: Re: Using RadAsm with Free Pascal
Post by: TmX on December 03, 2009, 04:27:25 AM
How to build resource?

(http://i46.tinypic.com/2ecmb86.jpg)

I know FPC uses windres.exe, but I don't know how to configure it in RadASM.
Project Options -> Compile Rc -> what to fill in?