October 31, 2025, 02:26:52 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Compiling Emergence manually

Started by yujinwunz, October 31, 2009, 04:29:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yujinwunz

October 31, 2009, 04:29:40 AM Last Edit: October 31, 2009, 04:35:03 AM by yujinwunz
Hi everyone.

My "problem" I think is unique.

the NSW Department of Education and Training gave all yr nines laptops. I would love to do programming on it when I am on the 40 min train rides to school instead of looking out the window. However, the laptops have certain restrictions.

1. An exe can be executed with standard rights if it was pre-installed by the DET admins
2. An exe can be executed with standard rights by right clicking on its icon and selecting "run as administrator"
3. An exe can be executed with standard rights by right clicking on its shortcut and selecting "run as administrator"
4. An exe can be initialised with a command by adding its command after it's filename in the "target" property of its shortcut. (I think)
   for example, if you append "c:\word.doc" to the "target" property of a shortcut for msword.exe, then when you double click the shortcut, it will initialise word and then open "c:\word.doc".
5. Exes can not open unless otherwise stated by rule 1,2,3 and 4.
(these rules were worded by me. it is basically total group policy with the "run as admin" flaw.)

How can I compile from source code to .exe by manually running the compiler exes one by one?

so, i can get the EB ide up and running, but when I click compile, it fails, because there is no rule saying that an .exe can start another .exe, namely the EB IDE can't start the compiler(s).

I have no idea how the compiler work or what order the .exes run at.

Thanks,

Yujin

if you succeed in making compiling possible on the laptops then my personal productivity would boost significantly, so I really appriciate any responses.

Ficko

October 31, 2009, 06:54:04 AM #1 Last Edit: October 31, 2009, 07:06:18 AM by Ficko
If you can start executables from batch file than you can write make files for the common scenarios you use.

My first guess. :D

I never saw any publication from Paul for explaining cmd line parameters for "ebparse" or "eblink" but you can easily figure it out by trapping them.


DECLARE IMPORT, _GetCommandLine ALIAS GetCommandLineA(),STRING
DEF MyFile:FILE
OPENCONSOLE
S = _GetCommandLine():PRINT S
OPENFILE(MyFile,GETSTARTPATH + "CMD.txt","W")
WRITE MyFile, S
CLOSEFILE MyFile
WAITCON


You just have to compile it as "ebparse.exe" or "eblink.exe" and replace the original  under examination temporary.

yujinwunz

Thanks, but batch files don't start exes either. :'(

ill give it a go with shortcuts though.

BumbleBee

Hi Yujin,

I don't really understand the restrictions on those systems, but if you think you
would be able to compile manually, try MinEDE.

http://www.ionicwind.com/forums/index.php/topic,2615.0.html

Hope it will help you. :)

Regards,
B.

Ficko


yujinwunz

firstly the laptops are slow, and secondly how do I install an os onto it without cd drive?

Ficko

Quote from: yujinwunz on November 02, 2009, 01:29:42 AM
firstly the laptops are slow...

I dosn't really matter if you don't run things simultaneously.

Quote from: yujinwunz on November 02, 2009, 01:29:42 AM
secondly how do I install an os onto it without cd drive?

USB stick or

ISO image using "MagicDisc" or simile CD drive emulator. Sometimes you can even map ISO image directly.

yujinwunz

Quote from: Ficko on November 02, 2009, 01:49:34 AM
Quote from: yujinwunz on November 02, 2009, 01:29:42 AM
firstly the laptops are slow...

I dosn't really matter if you don't run things simultaneously.

Quote from: yujinwunz on November 02, 2009, 01:29:42 AM
secondly how do I install an os onto it without cd drive?

USB stick or

ISO image using "MagicDisc" or simile CD drive emulator. Sometimes you can even map ISO image directly.

thought of a better way:

install it on my pc and put the virtal drive on removable hhd.

simple.

thanks. just to make everything work now....