How to configure UE to compile with GCC?

Help with setting up and configuring custom user tools in UltraEdit (based on command line input)

How to configure UE to compile with GCC?

Postby correia.c » Fri Sep 30, 2005 12:47 pm

Hi everyone...

I'm Portuguese and my English is not perfect... sorry.
Here is the question:

I'm new using UltraEdit and what I want to do is to compile a code using UltraEdit without the need of use the DOS command line.

In dos mode I compile with the gcc compiler.

apreciate any help...
User avatar
correia.c
Newbie
 
Posts: 2
Joined: Thu Sep 29, 2005 11:00 pm

Re: How to configure UE to compile with GCC?

Postby Mofi » Fri Sep 30, 2005 1:20 pm

Open the tool configuration dialog in the advanced menu.

Write your GCC command line used in the DOS window into the command line field. Instead of the name of source file which should be compiled use "%f" in the command line.

Enter a working directory or simply %p if path of source file should be the working directory.

Enter a name for the tool, for example Compile with GCC.

Activate "Save all files first" or only "Save Active File".

Select "Output to List Box" and check "Show DOS Box" and also "Capture Output". Press button "Insert" and the tool is ready to use now.

If you also want an icon for the User Tool 1, press button "Advanced" before button "Insert" and select a .bmp or .ico image with size 16x16 or 32x32.

More info about the user tools can be read in the help of UE. Simply press the Help button in the user tool configuration dialog.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4066
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: How to configure UE to compile with GCC?

Postby correia.c » Fri Sep 30, 2005 1:47 pm

Thank you. It work's.
User avatar
correia.c
Newbie
 
Posts: 2
Joined: Thu Sep 29, 2005 11:00 pm


Return to Custom User Tools/Tool Configuration