Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
14 crawler(s) on-line.
 135 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Gunnar:  17 mins ago
 Frank:  23 mins ago
 OlafS25:  24 mins ago
 NutsAboutAmiga:  43 mins ago
 MickJT:  1 hr 2 mins ago
 A1200:  1 hr 26 mins ago
 outlawal2:  2 hrs ago
 AndreasM:  2 hrs 3 mins ago
 sibbi:  2 hrs 12 mins ago
 saimo:  2 hrs 26 mins ago

/  Forum Index
   /  Amiga Development
      /  [AmigaE] ECX
Register To Post

PosterThread
r-tea 
[AmigaE] ECX
Posted on 1-Nov-2016 20:53:38
#1 ]
Regular Member
Joined: 21-Nov-2004
Posts: 315
From: Zdzieszowice, Poland

Recently I digged out one of my old projects written in AmigaE with MUI.
I tried to compile it with ECX and put morphos as a target like this:

Quote:
ecx my_code.e morphos


and compilation finnished succesfuly, but when I put amigaos instead I got an error.
The source is the same of course.

Quote:

ECX 2.3.1 WIP (MorphOS,PPC) by Leif Salomonsson (c) 2002-2013.
ECX 2.3.1 WIP MorphOS,PPC.
Lexical and syntax analysis..
+Preprocessing..
ERROR: unknown label "MUIA_Window_Open"
Procedure: error
Line 57: set(winreq,MUIA_Window_Open,MUI_TRUE)

Last edited by r-tea on 01-Nov-2016 at 08:59 PM.

_________________
I miss draggable screens in MorphOS... and do you? I know I'm in a minority unfortunately.

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: [AmigaE] ECX
Posted on 2-Nov-2016 12:05:16
#2 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

@r-tea

I've had spotty success and failure with the latest 68k ECX also. One bug for sure that's in there is that it won't recognize nested directories for include modules, sometimes when compiling a module that includes other modules in the same directory only the star notation works but not the path.

For example:

MODULE '*adventurebase','*textadventure'

works in the same directory but

MODULE 'adventure/adventurebase','adventure/textadventure'

Doesn't work at all, no matter what directory you're in.

 Status: Offline
Profile     Report this post  
Hypex 
Re: [AmigaE] ECX
Posted on 2-Nov-2016 14:39:45
#3 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@r-tea

I suppose a question to ask is have you installed the MUI 68K modules?

And do any other targets also fail?

Does it still work with AmigaE EC?

Last edited by Hypex on 02-Nov-2016 at 02:40 PM.

 Status: Offline
Profile     Report this post  
r-tea 
Re: [AmigaE] ECX
Posted on 2-Nov-2016 23:00:04
#4 ]
Regular Member
Joined: 21-Nov-2004
Posts: 315
From: Zdzieszowice, Poland

@Hypex

Quote:
Does it still work with AmigaE EC?

I have tried it out, and actually it doesn't.

Quote:
Amiga E Compiler/Assembler/Linker/PP v3.3a demo (c) '91-97 Wouter
lexical analysing ...
parsing and compiling ...
ERROR: workspace full!
LINE 465: IF num_stat_nm=0 THEN z:=2



Quote:
And do any other targets also fail?

I actually used only morphos and amigaos.


Quote:
I suppose a question to ask is have you installed the MUI 68K modules?

I just copied all the E installed directory originated straight from my 68k Amiga.
Then I suppose modules are 68k.
MorphOS MIME types recognise them as just AmigaE Modules, without making distinction between 68k and PPC.

_________________
I miss draggable screens in MorphOS... and do you? I know I'm in a minority unfortunately.

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: [AmigaE] ECX
Posted on 3-Nov-2016 8:26:42
#5 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

@r-tea

The demo version of AmigaE has that limitation but the full version doesn't. Try the full version from Aminet.

 Status: Offline
Profile     Report this post  
Deniil715 
Re: [AmigaE] ECX
Posted on 3-Nov-2016 9:05:09
#6 ]
Elite Member
Joined: 14-May-2003
Posts: 4236
From: Sweden

@r-tea

Quote:

r-tea wrote:
@Hypex

Quote:
Does it still work with AmigaE EC?

I have tried it out, and actually it doesn't.

Quote:
Amiga E Compiler/Assembler/Linker/PP v3.3a demo (c) '91-97 Wouter
lexical analysing ...
parsing and compiling ...
ERROR: workspace full!
LINE 465: IF num_stat_nm=0 THEN z:=2



You need to add workspace. There is a parameter to EC that I can't remember, but something like EC ADDWORKSPACE=5 file.e. Will add 5 times the workspace or something, can't remember exactly. I have to use it for all my more that tiny programs.

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
elwood 
Re: [AmigaE] ECX
Posted on 3-Nov-2016 18:02:23
#7 ]
Elite Member
Joined: 17-Sep-2003
Posts: 3428
From: Lyon, France

@Deniil715

Either Samurai Crow is right, it's the demo version:
Quote:
So what's "demo" about the included compiler? The compiler will only spit out executables less 8k, above that it will present you with a "workspace full" error. Other than that it's fully functional.

or it's a real error of the full version:
Quote:
- 'workspace full!' Rarely occurs. If it does, you'll need the '-m' (ADDBUF) option to manually force EC to make a bigger estimate on the needed amount of memory. Try compiling with -m2, then -m3 until the error disappears. You'll probably be writing huge applications with giant amounts of data just to even possibly get this error.

Last edited by elwood on 03-Nov-2016 at 06:03 PM.

_________________
Philippe 'Elwood' Ferrucci
Sam460 1.10 Ghz
AmigaOS 4 betatester
Amiga Translator Organisation

 Status: Offline
Profile     Report this post  
Hypex 
Re: [AmigaE] ECX
Posted on 4-Nov-2016 13:37:26
#8 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@r-tea

Quote:
I have tried it out, and actually it doesn't.


Well never mind. Both EC and ECX AMIGAOS targets have problems:


4.RAM Disk:ecx-2.3.1/source/MUI> ecx Virtual.e amigaos
ECX 2.3.1 WIP (AmigaOS4,PPC) by Leif Salomonsson (c) 2002-2013.
ECX 2.3.1 WIP AmigaOS4,PPC.
Lexical and syntax analysis..
+Preprocessing..
ERROR: "," expected for macro "KeyCycle"
Procedure: makePage3
Line 170: Child, KeyLabel1('Computer:',"c"), Child, cy_computer := KeyCycle(cya_computer,"c"),
4.RAM Disk:ecx-2.3.1/source/MUI> ec Virtual.e
Amiga E Compiler/Assembler/Linker/PP v3.3a registered (c) '91-97 Wouter
lexical analysing ...
ERROR: unmatched parentheses
LINE 153: Child, KeyLabel1('Computer:',"c"), Child, cy_computer := KeyCycle(cya_computer,"c"),


For reference I used the Virtual.e example found in the ECX 2.3.1 source/MUI drawer. Because it has the MUIA_Window_Open label. Or macro. Whatever it is.

Quote:
I actually used only morphos and amigaos.


Well might as well stick to that since that is what you want.

Quote:
I just copied all the E installed directory originated straight from my 68k Amiga.


And set up another EMODULES assign pointing to it? I also have ECXMODULES and ECX assigns. Complicated stuff.

I updated my ECX install on OS4 to 2.3.1. WIP worries me.

FWIW I also tried PortablE. Didn't like it.


ERROR: macro body cannot begin with a new line
LINE 32: #define mytxt(txt)\
PortablE failed returncode 10

Last edited by Hypex on 04-Nov-2016 at 01:40 PM.

 Status: Offline
Profile     Report this post  
elwood 
Re: [AmigaE] ECX
Posted on 4-Nov-2016 17:47:04
#9 ]
Elite Member
Joined: 17-Sep-2003
Posts: 3428
From: Lyon, France

@Hypex

Quote:
WIP worries me.

ECX development stopped some years ago. The compiler source code is available on the download page

_________________
Philippe 'Elwood' Ferrucci
Sam460 1.10 Ghz
AmigaOS 4 betatester
Amiga Translator Organisation

 Status: Offline
Profile     Report this post  
Hypex 
Re: [AmigaE] ECX
Posted on 5-Nov-2016 6:10:58
#10 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@elwood

Yeah I know. It doesn't seem that long ago. I usually keep it up to date but before last night I still had 2.3.0.

It seems like only yesterday I emailed Leif as I used to do and report some bug on the OS4 version. Or OS4 executables. Or ask why my code crashed.

We'll always have Paris. And we still have PortablE.

"Another E. Another E. Another E bytes the dust."

 Status: Offline
Profile     Report this post  
r-tea 
Re: [AmigaE] ECX
Posted on 10-Nov-2016 22:09:49
#11 ]
Regular Member
Joined: 21-Nov-2004
Posts: 315
From: Zdzieszowice, Poland

@Deniil715
@elwood

Quote:
You need to add workspace..


It's not about a workspace. Yes, Samurai_Crow is right. It's because the demo version. I downloaded the full version and now compilation passes well.

@Hypex
Quote:

Quote:

I just copied all the E installed directory originated straight from my 68k Amiga.


And set up another EMODULES assign pointing to it? I also have ECXMODULES and ECX assigns. Complicated stuff.


I have EMODULES: assign pointing to old E/modules directory, and ECXMODULES: assign pointing to new directory with ecx modules within OS categorized subdirectories.
Now compilation with EC (AmigaOS 68k target default) passes smoothly.
For now it's enough for me to play with E.
Thanks a lot, guys!

Last edited by r-tea on 13-Nov-2016 at 12:30 AM.

_________________
I miss draggable screens in MorphOS... and do you? I know I'm in a minority unfortunately.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle