Yes is a correct setup.
For backup the OS drive, on the forum is advised to make an image with Clonezilla.
http://forums.openmediavault.org/viewtopic.php?f=3&t=2225
http://forums.openmediavault.org/viewtopic.php?f=3&t=1289
http://forums.openmediavault.org/viewtopic.php?f=3&t=3925
Beiträge von 0rtega
-
-
-
Non sono un esperto ma per lo spegnimento puoi usare il plugin Autoshutdown che trovi qui.
Mentre per accendere il tuo server OMV con il WOL puoi vedere qui. -
Non credo di aver capito cosa intendi. Vuoi che il tuo server OMV una volta in standby venga acceso da un altro pc mediante il WOL ?
-
It works perfectly. I hope not to bother you again
-
Thanks I have just written the commands in my "hb_compiler_notes.txt" file.
Sorry for the misunderstanding, is fault of my bad english
What I need is this:
Then I save this script, calling it compile.sh (chmod +x compile.sh)
Then I want to issue this compile command in bash promt:
I want to use "_source_file_name_" as a argument in the command "compile.sh".
-
I am no expert but you can try to issue these commands:
-run "Apt-Clean" and "Apt-Clean silent" from the OMV-Extras plugin
-run via SSH with root access these commands:
Then reboot and test if the problem is gone.
I repeat, I am no expert -
I know that is off topic... but I want to you know that it works great also on the raspberry pi!
The compilation lasted several hours but in the end it worked.
Sorry to bother you again with this, but I was wondering how to "disinstall" a .deb package ?ps: I need to write a bash little script that execute this command:
where "foo" is a variable (the source program file), I know how to do it in Dos but not in linux
Edit:
I want to say a big thank you to ryeco for this great gift!
I have ported my programs in debian (OMV and Raspberry PI !!!) in 15 minutes!!! Amazing!
I have changed only the directory names inside of the .prg (for example "C:\directory1\directory2" now is "C/directory1/directory2")I have installed curl and lynx (a txt browser that i use to dump html pages in txt) and all works flawlessly.
Now that I can use my beloved compiler I can automate almost everything without knowing bash, awk, vi (I hate it! :D). For me is pretty amazing !
Thank you again! -
Yes, I will try for sure to port my programs in Debian
Now that I know how to do it, I want try to install harbour also on my raspberry pi, after all raspbian is also a debian distribution...
I have to admit that is very exciting
Tnx! -
Zitat von "ryecoaaron"
Did it work?
Yes, for me is simply amazing!
Sorry I have edited my previous post, perhaps you didn't see it -
Zitat von "ryecoaaron"
It takes a while I would try installing the .deb on a VM first. Just in case it causes problems
Oops... too late
I hope I haven't made much damage to my OMV installation. -
Thanks I'm compiling right now...
Edit:
It's simply amazing!This is the link to the newest sources: https://github.com/harbour/core/
Then I followed your instructions:Codeapt-get install build-essential bash git gcc binutils fakeroot debhelper valgrind upx uncrustify git clone https://github.com/harbour/core.git harbour-core fakeroot debian/rules binary dpkg -i harbour_3.2.0-1_amd64.deb
I have written a little program with nano and is working in debian! I know that for you is normal but for me is simply mindblowing!!!
I haven't understand many things, for example how it works if I want to use specific libraries, but just this for me is great!
Thank you so much -
Zitat von "ryecoaaron"
If you aren't writing in C++ then it might be easier than I thought. Maybe this would work to compile your harbour code to linux executable?
I do a lot of database program so this has me interested
I also work with databases (MySql), no more with harbour (but i still use it for batch programs on big "raw" data).
It could seem old and surpassed but is a great and easy to learn and powerfull language.
Thanks for the link, this seem interesting:Code
Alles anzeigenYou will find additional wonderful tools: /usr/bin/hbrun You can run clipper/xbase compatible source files with it if you only put in their first line: #!/usr/bin/hbrun For example: ---------------------------------------------------------------------- druzus@uran:~/tmp$ cat foo.prg #!/usr/bin/hbrun function main() ? "Hello, World!, This is a script !!! :-)" return nil druzus@uran:~/tmp$ chmod +x foo.prg druzus@uran:~/tmp$ ./foo.prg Hello, World!, This is a script !!! :-) druzus@uran:~/tmp$
I have to understand how to compile the harbour compiler (!? )
-
Sorry if I bother you again, but I have found this link.
Can I try to create the compiler also in Debian (OMV) following that guide ? -
Zitat von "ryecoaaron"
If you have been working with C++ for that long, I wouldn't think it would take long to port it to Linux C++ using g++ (c++ linux compiler) and harbour
My programs are written in harbour (dBase syntax) then pre-compiled in "pcode" then the "pcode" is compiled with the Borland C++ that generates a .exe
So in the end, I got a C++ program executable, without writing a single line of C++
I have written (a long time ago...) just little programs in Lattice C on my Amiga 500Zitat von "ryecoaaron"Also, wine may not work with your app. You might have good luck with dosemu though.
Thanks for this tip and your kindness, I will look into it. Thanks again.
-
Wow, that was quick!
Installed right now without a problem, I can start to configure the directories, the router for the firewall rules and I can start .
Thank you!
-
Zitat von "ryecoaaron"
That is my fault. The newest omv-extras uses the wheezy apt preference file. Give me a little time to fix it.
No problem, take your time I'm not in a hurry
Thanks for everything -
Sure thanks!
I use this:
meaning:
/Z Link Zip libraries
/L Link additional [x]Harbour library
/NX No run, compile and link only
/C Create console EXEThe "ortega" library is my personal functions library (I precompile it with borland 5.5 to create a .lib that I link to the final .exe)
In linux it should work also, instead to create a .lib from my ortega.prg source, to compile the main program source file + the ortega.prg source.
(example: big_program.prg + ortega.prg) to generate the executable.That calls this... (this one is long... :D)
Code
Alles anzeigen@echo off rem =========================================================================== rem rem Compile.bat rem rem Kevin Carmody - 2013.04.07 rem rem Revised by Grigory Filatov - 2013.04.07 rem rem =========================================================================== rem If no parameters, display command syntax. if "%1"=="" goto SYNTAX if "%1"=="?" goto SYNTAX if "%1"=="/?" goto SYNTAX goto PARPARSE :SYNTAX rem Display batch file syntax message echo. echo Compile.bat echo Compiles and links a PRG into an EXE, then runs the EXE. echo. echo Syntax: echo Compile (source) [?] [/X] [/-X] [/D] [/C] [/CG] [/MT] [/T] [/W] [/E] [/P] echo [/NC] [/NL] [/NX] [/NM] [/ND] [/CO] [/RO] [/LO] [/DO] [/XI] [/XW] echo [/S (opt) [...]] [/SC (opt) [...]] [/B (obj) [...]] echo [/O] [/Z] [/A] [/M] [/PG] echo [/L (lib) [...]] [/LG (lib) [...]] [/LE (lib) [...]] echo [/R (res) [...]] [/XS (opt) [...]] echo. echo (source) PRG file name without extension echo /X Use xHarbour, must precede other options, echo default if MG_CMP set to XHARBOUR, see below echo /-X Use Harbour, must precede other options, echo default if MG_CMP missing or not set to XHARBOUR echo /D Create debug EXE echo /C Create console EXE echo /CG Create mixed console and GUI EXE echo /MT Create multi threaded EXE echo /T Use Turbo Assembler during C compile echo /W Generate compiler warnings echo /E Send compile and link error output to (source).ERR echo /P Pause at end pause echo /NC No C compile or link or run, [x]Harbour compile only echo /NL No link or run, compile only echo /NX No run, compile and link only echo /NM Do not compile as a main PRG echo /ND Do not delete temporary files after compile and link echo /CO C compile only, no link or run, requires (source).C only echo /RO Resource compile only, requires (source).RC only echo /LO Link and run only, requires (source).OBJ only echo /DO Delete temporary files only, no compile or link echo /XI Run EXE in immediate mode (without START) echo /XW Run EXE in wait mode (with START /W) pause echo /S Use additional Harbour compiler switch echo (opt) Compiler switch echo /SC Use additional C compiler switch echo (opt) Compiler switch echo /B Link additional object file echo (obj) Name of additional object file without extension echo /O Link ODBC libraries echo /Z Link Zip libraries echo /A Link ADS libraries echo /M Link MySql libraries echo /PG Link PostgreSQL libraries echo /L Link additional [x]Harbour library echo (lib) Name of additional library without extension echo /LG Link additional MiniGui library echo (lib) Name of additional library without extension echo /LE Link additional external library echo (lib) Name of additional library with path but without extension echo. pause echo /R Link additional resource file echo (res) Name of additional resource file without extension echo /XS Add argument to EXE command line echo (arg) EXE command line argument echo /S (opt), /B (obj), /L (lib), /LG (lib), R (res), /XS (arg) may be repeated. echo Spacing between parameters must be as shown. echo. echo You may set the following environment variables. echo Locations in these variables must not have a trailing backslash. echo. echo MG_BCC Location of BCC, default C:\Borland\BCC55 echo MG_ROOT Location of MinuGui, default C:\MiniGui echo MG_HRB Location of Harbour, default (MG_ROOT)\Harbour echo MG_LIB Location of Harbour MiniGui libraries, default (MG_ROOT)\Lib echo MG_XHRB Location of xHarbour, default C:\xHarbour echo MG_XLIB Location of xHarbour MiniGui libraries, default (MG_ROOT)\xLib echo MG_CMP If set to XHARBOUR, then use xHarbour by default, echo /X is not necessary, may be overridden by /-X echo. pause echo The following files are optional and are used only if present. echo. echo (source).RC Used as resource file, required only if /RO used echo (source).RSP Used as link response file instead of temporary file: echo /D, /C, /B, /O, /Z, /A, /M, /L, /LG, /R ignored echo (source).BAT Run at end instead of (source).EXE echo. set MV_PAUSE=Y goto END :SYNTERR echo Type Compile.bat ? for syntax. set MV_PAUSE=Y goto END :PARPARSE rem Initialize local variables. set MV_USEXHRB=N set MV_INTMODE=G set MV_DEBUG=N set MV_MTHREAD=N set MV_USETASM=N set MV_ERRFILE=N set MV_PAUSE=N set MV_DOCCOMP=Y set MV_DOCONLY=N set MV_DOCMAIN=Y set MV_DORONLY=N set MV_DOLINK=Y set MV_DOLONLY=N set MV_DOEXE=Y set MV_DODEL=Y set MV_DODONLY=N set MV_EXECMD=START set MV_SWITCH= set MV_CSWITCH= set MV_ARG= rem Set default paths to BCC, Harbour, xHarbour, MiniGui if defined MG_CMP if "%MG_CMP%"=="XHARBOUR" set MV_USEXHRB=Y if not defined MG_BCC set MG_BCC=c:\borland\bcc55 if not defined MG_ROOT set MG_ROOT=c:\minigui if not defined MG_HRB set MG_HRB=%MG_ROOT%\harbour if not defined MG_LIB set MG_LIB=%MG_ROOT%\lib if not defined MG_XHRB set MG_XHRB=c:\xharbour if not defined MG_XLIB set MG_XLIB=%MG_ROOT%\xlib rem Initialize local variables. if %MV_USEXHRB%==N set MV_HRB=%MG_HRB% if %MV_USEXHRB%==N set MV_LIB=%MG_LIB% if %MV_USEXHRB%==Y set MV_HRB=%MG_XHRB% if %MV_USEXHRB%==Y set MV_LIB=%MG_XLIB% set MV_SRC=%1 if exist _tempobj.rsp del _tempobj.rsp if exist _templib.rsp del _templib.rsp if exist _tempres.rsp del _tempres.rsp :PARMORE rem Start of parameter parse loop, test for end of parameters shift if "%1"=="" goto DEFCHECK rem Test for individual parameters: branch down when found, then loop back if %1==? goto SYNTAX if %1==/? goto SYNTAX if /i %1==/x goto XHARBSET if /i %1==/-x goto HARBSET if /i %1==/c goto CONSSET if /i %1==/cg goto CONSGUISET if /i %1==/d goto DEBSET if /i %1==/mt goto MTHREADSET if /i %1==/t goto TASMSET if /i %1==/w goto WARNSET if /i %1==/e goto ERRSET if /i %1==/p goto PAUSESET if /i %1==/nc goto CCOMPSET if /i %1==/co goto CONLYSET if /i %1==/ro goto RONLYSET if /i %1==/nl goto LINKSET if /i %1==/lo goto LONLYSET if /i %1==/nx goto EXESET if /i %1==/nm goto MAINSET if /i %1==/nd goto DELSET if /i %1==/do goto DONLYSET if /i %1==/xi goto IMMEDSET if /i %1==/xw goto WAITSET if /i %1==/s goto ADDSWITCH if /i %1==/sc goto ADDCSWITCH if /i %1==/b goto ADDOBJ if /i %1==/o goto ODBCLIB if /i %1==/z goto ZIPLIB if /i %1==/a goto ADSLIB if /i %1==/m goto MYSQLLIB if /i %1==/pg goto PGSQLLIB if /i %1==/l goto ADDLIB if /i %1==/lg goto ADDGLIB if /i %1==/le goto ADDELIB if /i %1==/r goto ADDRES if /i %1==/xs goto ADDARG echo Unknown compile.bat option %1 goto SYNTERR :XHARBSET set MV_USEXHRB=Y set MV_HRB=%MG_XHRB% set MV_LIB=%MG_XLIB% goto PARMORE :HARBSET set MV_USEXHRB=N set MV_HRB=%MG_HRB% set MV_LIB=%MG_LIB% goto PARMORE :CONSSET set MV_INTMODE=C goto PARMORE :CONSGUISET set MV_INTMODE=M goto PARMORE :DEBSET set MV_DEBUG=Y goto PARMORE :MTHREADSET set MV_MTHREAD=Y goto PARMORE :TASMSET set MV_USETASM=Y goto PARMORE :WARNSET if not defined MV_SWITCH set MV_SWITCH=-w -es2 if defined MV_SWITCH set MV_SWITCH=%MV_SWITCH% -w -es2 goto PARMORE :ERRSET set MV_ERRFILE=Y goto PARMORE :PAUSESET set MV_PAUSE=Y goto PARMORE :CCOMPSET set MV_DOCCOMP=N goto PARMORE :CONLYSET set MV_DOCONLY=Y goto PARMORE :RONLYSET set MV_DORONLY=Y goto PARMORE :LINKSET set MV_DOLINK=N goto PARMORE :LONLYSET set MV_DOLONLY=Y goto PARMORE :EXESET set MV_DOEXE=N goto PARMORE :MAINSET set MV_DOCMAIN=N goto PARMORE :DELSET set MV_DODEL=N goto PARMORE :DONLYSET set MV_DODONLY=Y goto PARMORE :IMMEDSET if exist %MV_SRC%.bat set MV_EXECMD=call if not exist %MV_SRC%.bat set MV_EXECMD= goto PARMORE :WAITSET set MV_EXECMD=START /W goto PARMORE :ADDSWITCH shift if "%1"=="" goto ARGMISS if not defined MV_SWITCH set MV_SWITCH=%1 if defined MV_SWITCH set MV_SWITCH=%MV_SWITCH% %1 goto PARMORE :ADDCSWITCH shift if "%1"=="" goto ARGMISS if not defined MV_CSWITCH set MV_CSWITCH=%1 if defined MV_CSWITCH set MV_CSWITCH=%MV_CSWITCH% %1 goto PARMORE :ADDOBJ shift if "%1"=="" goto ARGMISS echo %1.obj + >> _tempobj.rsp goto PARMORE :ODBCLIB echo %MV_HRB%\lib\hbodbc.lib + >> _templib.rsp echo %MV_HRB%\lib\odbc32.lib + >> _templib.rsp goto PARMORE :ZIPLIB if %MV_USEXHRB%==Y goto XZIPLIB echo %MV_HRB%\lib\ziparchive.lib + >> _templib.rsp goto PARMORE :XZIPLIB echo %MV_HRB%\lib\hbzip.lib + >> _templib.rsp goto PARMORE :ADSLIB echo %MV_HRB%\lib\rddads.lib + >> _templib.rsp echo %MV_HRB%\lib\ace32.lib + >> _templib.rsp goto PARMORE :MYSQLLIB echo %MV_HRB%\lib\hbmysql.lib + >> _templib.rsp echo %MV_HRB%\lib\libmysql.lib + >> _templib.rsp goto PARMORE :PGSQLLIB echo %MV_HRB%\lib\libpq.lib + >> _templib.rsp echo %MV_HRB%\lib\hbpgsql.lib + >> _templib.rsp goto PARMORE :ADDLIB shift if "%1"=="" goto ARGMISS echo %MV_HRB%\lib\%1.lib + >> _templib.rsp goto PARMORE :ADDGLIB shift if "%1"=="" goto ARGMISS echo %MV_LIB%\%1.lib + >> _templib.rsp goto PARMORE :ADDELIB shift if "%1"=="" goto ARGMISS echo %1.lib + >> _templib.rsp goto PARMORE :ADDRES shift if "%1"=="" goto ARGMISS echo %1.res + >> _tempres.rsp goto PARMORE :ADDARG shift if "%1"=="" goto ARGMISS if not defined MV_ARG set MV_ARG=%1 if defined MV_ARG set MV_ARG=%MV_ARG% %1 goto PARMORE :ARGMISS echo Missing argument after %0 option. goto SYNTERR :DEFCHECK rem Check for additional compiler defines if %MV_DOCMAIN%==N goto SRCCHECK if %MV_INTMODE%==G if %MV_DEBUG%==N goto SRCCHECK if %MV_INTMODE%==C goto SRCCHECK if not defined MV_SWITCH set MV_SWITCH=-d_MIXEDMODE_ if defined MV_SWITCH set MV_SWITCH=%MV_SWITCH% -d_MIXEDMODE_ :SRCCHECK rem Check that source file exists if %MV_DOCONLY%==Y goto CCHECK if %MV_DORONLY%==Y goto RCCHECK if %MV_DOLONLY%==Y goto OBJCHECK if %MV_DODONLY%==Y goto CLEANUP :PRGCHECK rem Check that PRG source exists if exist %MV_SRC%.prg goto EXECHECK echo Cannot find %MV_SRC%.prg. goto SYNTERR :CCHECK rem Check that C source exists if exist %MV_SRC%.c goto CCOMP echo Cannot find %MV_SRC%.c. goto SYNTERR :RCCHECK rem Check that RC source exists if exist %MV_SRC%.rc goto RCCOMP echo Cannot find %MV_SRC%.rc. goto SYNTERR :OBJCHECK rem Check that OBJ file exists if exist %MV_SRC%.obj goto EXECHECK echo Cannot find %MV_SRC%.obj. goto SYNTERR :EXECHECK rem Attempt to delete EXE and report if it is in use if %MV_DOCCOMP%==N goto COMPCHECK if %MV_DOLINK%==N goto COMPCHECK if %MV_DODONLY%==Y goto CLEANUP if exist %MV_SRC%.exe del %MV_SRC%.exe if not exist %MV_SRC%.exe goto COMPCHECK echo. echo Error: %MV_SRC%.exe is currently running. echo Close it and compile again. echo. set MV_PAUSE=Y goto END :COMPCHECK rem Check for compile options if %MV_DOLONLY%==Y goto RSPCHECK if %MV_DODONLY%==Y goto CLEANUP if %MV_DEBUG%==Y goto DCOMP if %MV_DEBUG%==N goto NCOMP :NCOMP rem Non-debug compile if %MV_ERRFILE%==N %MV_HRB%\bin\harbour %MV_SRC%.prg -n -i%MV_HRB%\include;%MG_ROOT%\include; %MV_SWITCH% if %MV_ERRFILE%==Y %MV_HRB%\bin\harbour %MV_SRC%.prg -n -i%MV_HRB%\include;%MG_ROOT%\include; %MV_SWITCH% >%MV_SRC%.err if not errorlevel 1 goto CCOMP echo. echo Compile error. echo. set MV_PAUSE=Y goto END :DCOMP rem Debug compile if not exist init.mgd echo Screen Size 50 80 > init.mgd if not exist init.cld echo Options NoRunAtStartup > init.cld if %MV_ERRFILE%==N %MV_HRB%\bin\harbour %MV_SRC%.prg -n -b -i%MV_HRB%\include;%MG_ROOT%\include; %MV_SWITCH% if %MV_ERRFILE%==Y %MV_HRB%\bin\harbour %MV_SRC%.prg -n -b -i%MV_HRB%\include;%MG_ROOT%\include; %MV_SWITCH% >%MV_SRC%.err if not errorlevel 1 goto CCOMP echo. echo Compile error. echo. set MV_PAUSE=Y goto END :CCOMP rem BCC compile of Harbour output if %MV_DOCCOMP%==N goto CLEANUP if %MV_USETASM%==Y goto TASMCHECK if %MV_ERRFILE%==N %MG_BCC%\bin\bcc32 -c -tWM -d -6 -O2 -OS -Ov -Oi -Oc -I%MV_HRB%\include;%MG_BCC%\include; -L%MG_BCC%\lib; %MV_CSWITCH% %MV_SRC%.c if %MV_ERRFILE%==Y %MG_BCC%\bin\bcc32 -c -tWM -d -6 -O2 -OS -Ov -Oi -Oc -I%MV_HRB%\include;%MG_BCC%\include; -L%MG_BCC%\lib; %MV_CSWITCH% %MV_SRC%.c >>%MV_SRC%.err if not errorlevel 1 goto RCCOMP echo. echo C compile error. echo. set MV_PAUSE=Y goto END :TASMCHECK if exist %MG_BCC%\bin\tasm32.exe goto TCCOMP echo. echo Assembler TASM32.EXE required but not found in %MG_BCC%\bin. echo. set MV_PAUSE=Y goto END :TCCOMP rem BCC compile with Turbo Assembler of Harbour output if %MV_ERRFILE%==N %MG_BCC%\bin\bcc32 -c -tWM -d -6 -O2 -OS -Ov -Oi -Oc -I%MV_HRB%\include;%MG_BCC%\include; -L%MG_BCC%\lib; -E%MG_BCC%\bin\tasm32.exe %MV_CSWITCH% %MV_SRC%.c if %MV_ERRFILE%==Y %MG_BCC%\bin\bcc32 -c -tWM -d -6 -O2 -OS -Ov -Oi -Oc -I%MV_HRB%\include;%MG_BCC%\include; -L%MG_BCC%\lib; -E%MG_BCC%\bin\tasm32.exe %MV_CSWITCH% %MV_SRC%.c >>%MV_SRC%.err if not errorlevel 1 goto RCCOMP echo. echo C compile error. echo. set MV_PAUSE=Y goto END :RCCOMP rem Call resource compiler if needed if not exist %MV_SRC%.rc goto RSPCHECK if %MV_ERRFILE%==N %MG_BCC%\bin\brc32 -r %MV_SRC%.rc if %MV_ERRFILE%==Y %MG_BCC%\bin\brc32 -r %MV_SRC%.rc >>%MV_SRC%.err if not errorlevel 1 goto RSPCHECK echo. echo Resource compile error. echo. set MV_PAUSE=Y goto END :RSPCHECK rem Check for custom RSP file if %MV_DOCONLY%==Y goto CLEANUP if %MV_DORONLY%==Y goto CLEANUP if %MV_DOLINK%==N goto CLEANUP if %MV_DODONLY%==Y goto CLEANUP if not exist %MV_SRC%.rsp goto RSPSTART if exist _temp.rsp del _temp.rsp copy %MV_SRC%.rsp _temp.rsp goto LINKCHECK :RSPSTART rem Constuct RSP file for link if exist _temp.rsp del _temp.rsp echo c0w32.obj + > _temp.rsp echo %MV_SRC%.obj + >> _temp.rsp if exist _tempobj.rsp type _tempobj.rsp >> _temp.rsp echo , + >> _temp.rsp echo %MV_SRC%.exe, + >> _temp.rsp echo %MV_SRC%.map, + >> _temp.rsp if %MV_DEBUG%==Y echo %MV_LIB%\dbginit.obj + >> _temp.rsp if %MV_USEXHRB%==N goto HRSP if %MV_USEXHRB%==Y goto XRSP :HRSP rem Add to RSP file for Harbour EXE if %MV_DEBUG%==N if %MV_INTMODE%==G goto HGRSP if %MV_DEBUG%==N if %MV_INTMODE%==C goto HCRSP if %MV_DEBUG%==N if %MV_INTMODE%==M goto HMRSP if %MV_DEBUG%==Y if %MV_INTMODE%==G goto HMRSP if %MV_DEBUG%==Y if %MV_INTMODE%==C goto HCRSP if %MV_DEBUG%==Y if %MV_INTMODE%==M goto HMRSP :HGRSP rem Add to RSP file for Harbour GUI EXE echo %MV_LIB%\tsbrowse.lib + >> _temp.rsp echo %MV_LIB%\propgrid.lib + >> _temp.rsp echo %MV_LIB%\minigui.lib + >> _temp.rsp echo %MV_HRB%\lib\dll.lib + >> _temp.rsp echo %MV_HRB%\lib\gtgui.lib + >> _temp.rsp goto HRSPREST :HCRSP rem Add to RSP file for Harbour console EXE echo %MV_HRB%\lib\gtwin.lib + >> _temp.rsp goto HRSPREST :HMRSP rem Add to RSP file for Harbour mixed mode EXE echo %MV_LIB%\tsbrowse.lib + >> _temp.rsp echo %MV_LIB%\propgrid.lib + >> _temp.rsp echo %MV_LIB%\minigui.lib + >> _temp.rsp echo %MV_HRB%\lib\dll.lib + >> _temp.rsp echo %MV_HRB%\lib\gtwin.lib + >> _temp.rsp echo %MV_HRB%\lib\gtgui.lib + >> _temp.rsp goto HRSPREST :XRSP rem Add to RSP file for xHarbour EXE if %MV_DEBUG%==N if %MV_INTMODE%==G goto XGRSP if %MV_DEBUG%==N if %MV_INTMODE%==C goto XCRSP if %MV_DEBUG%==N if %MV_INTMODE%==M goto XMRSP if %MV_DEBUG%==Y if %MV_INTMODE%==G goto XMRSP if %MV_DEBUG%==Y if %MV_INTMODE%==C goto XCRSP if %MV_DEBUG%==Y if %MV_INTMODE%==M goto XMRSP :XGRSP rem Add to RSP file for xHarbour GUI EXE echo %MV_LIB%\tsbrowse.lib + >> _temp.rsp echo %MV_LIB%\propgrid.lib + >> _temp.rsp echo %MV_LIB%\minigui.lib + >> _temp.rsp echo %MV_HRB%\lib\dll.lib + >> _temp.rsp echo %MV_HRB%\lib\gtgui.lib + >> _temp.rsp goto XRSPREST :XCRSP rem Add to RSP file for xHarbour console EXE echo %MV_HRB%\lib\gtwin.lib + >> _temp.rsp goto XRSPREST :XMRSP rem Add to RSP file for xHarbour mixed mode EXE echo %MV_LIB%\tsbrowse.lib + >> _temp.rsp echo %MV_LIB%\propgrid.lib + >> _temp.rsp echo %MV_LIB%\minigui.lib + >> _temp.rsp echo %MV_HRB%\lib\dll.lib + >> _temp.rsp echo %MV_HRB%\lib\gtwin.lib + >> _temp.rsp echo %MV_HRB%\lib\gtgui.lib + >> _temp.rsp goto XRSPREST :HRSPREST rem Continue RSP file for Harbour EXE if exist _templib.rsp type _templib.rsp >> _temp.rsp echo %MV_HRB%\lib\hbcplr.lib + >> _temp.rsp echo %MV_HRB%\lib\hbrtl.lib + >> _temp.rsp if %MV_MTHREAD%==N echo %MV_HRB%\lib\hbvm.lib + >> _temp.rsp if %MV_MTHREAD%==Y echo %MV_HRB%\lib\hbvmmt.lib + >> _temp.rsp echo %MV_HRB%\lib\hblang.lib + >> _temp.rsp echo %MV_HRB%\lib\hbcpage.lib + >> _temp.rsp echo %MV_HRB%\lib\hbmacro.lib + >> _temp.rsp echo %MV_HRB%\lib\hbrdd.lib + >> _temp.rsp echo %MV_HRB%\lib\hbhsx.lib + >> _temp.rsp echo %MV_HRB%\lib\rddntx.lib + >> _temp.rsp echo %MV_HRB%\lib\rddcdx.lib + >> _temp.rsp echo %MV_HRB%\lib\rddfpt.lib + >> _temp.rsp echo %MV_HRB%\lib\hbsix.lib + >> _temp.rsp echo %MV_HRB%\lib\hbcommon.lib + >> _temp.rsp echo %MV_HRB%\lib\hbdebug.lib + >> _temp.rsp echo %MV_HRB%\lib\hbpp.lib + >> _temp.rsp echo %MV_HRB%\lib\hbpcre.lib + >> _temp.rsp echo %MV_HRB%\lib\hbct.lib + >> _temp.rsp echo %MV_HRB%\lib\hbmisc.lib + >> _temp.rsp echo %MV_HRB%\lib\hbole.lib + >> _temp.rsp if %MV_INTMODE%==C goto RSPEND echo %MV_HRB%\lib\hbprinter.lib + >> _temp.rsp echo %MV_HRB%\lib\miniprint.lib + >> _temp.rsp echo %MV_HRB%\lib\socket.lib + >> _temp.rsp goto RSPEND :XRSPREST rem Continue RSP file for xHarbour EXE if exist _templib.rsp type _templib.rsp >> _temp.rsp echo %MV_HRB%\lib\rtl.lib + >> _temp.rsp echo %MV_HRB%\lib\vm.lib + >> _temp.rsp echo %MV_HRB%\lib\lang.lib + >> _temp.rsp echo %MV_HRB%\lib\codepage.lib + >> _temp.rsp echo %MV_HRB%\lib\macro.lib + >> _temp.rsp echo %MV_HRB%\lib\rdd.lib + >> _temp.rsp echo %MV_HRB%\lib\dbfntx.lib + >> _temp.rsp echo %MV_HRB%\lib\dbfcdx.lib + >> _temp.rsp echo %MV_HRB%\lib\dbffpt.lib + >> _temp.rsp echo %MV_HRB%\lib\hbsix.lib + >> _temp.rsp echo %MV_HRB%\lib\common.lib + >> _temp.rsp echo %MV_HRB%\lib\debug.lib + >> _temp.rsp echo %MV_HRB%\lib\pp.lib + >> _temp.rsp echo %MV_HRB%\lib\pcrepos.lib + >> _temp.rsp echo %MV_HRB%\lib\ct.lib + >> _temp.rsp echo %MV_HRB%\lib\libmisc.lib + >> _temp.rsp if %MV_INTMODE%==C goto RSPEND echo %MV_HRB%\lib\hbprinter.lib + >> _temp.rsp echo %MV_HRB%\lib\miniprint.lib + >> _temp.rsp echo %MV_HRB%\lib\socket.lib + >> _temp.rsp :RSPEND rem Finish RSP file if %MV_MTHREAD%==N echo cw32.lib + >> _temp.rsp if %MV_MTHREAD%==Y echo cw32mt.lib + >> _temp.rsp echo import32.lib + >> _temp.rsp echo %MG_BCC%\lib\psdk\iphlpapi.lib + >> _temp.rsp echo %MG_BCC%\lib\psdk\msimg32.lib, >> _temp.rsp if exist %MV_SRC%.res echo %MV_SRC%.res + >> _temp.rsp if exist _tempres.rsp type _tempres.rsp >> _temp.rsp if %MV_INTMODE%==C goto LINKCHECK echo %MG_ROOT%\resources\hbprinter.res + >> _temp.rsp echo %MG_ROOT%\resources\miniprint.res + >> _temp.rsp echo %MG_ROOT%\resources\minigui.res >> _temp.rsp :LINKCHECK rem Check for link options if %MV_INTMODE%==C goto CLINK if %MV_INTMODE%==M goto CLINK :GLINK rem Link for GUI EXE if %MV_ERRFILE%==N %MG_BCC%\bin\ilink32 -x -Gn -Tpe -aa -L%MG_BCC%\lib; @_temp.rsp if %MV_ERRFILE%==Y %MG_BCC%\bin\ilink32 -x -Gn -Tpe -aa -L%MG_BCC%\lib; @_temp.rsp >>%MV_SRC%.err if not errorlevel 1 goto CLEANUP echo. echo Link error. echo. set MV_PAUSE=Y goto END :CLINK rem Link for console or mixed mode EXE if %MV_ERRFILE%==N %MG_BCC%\bin\ilink32 -x -Gn -Tpe -ap -L%MG_BCC%\lib; @_temp.rsp if %MV_ERRFILE%==Y %MG_BCC%\bin\ilink32 -x -Gn -Tpe -ap -L%MG_BCC%\lib; @_temp.rsp >>%MV_SRC%.err if not errorlevel 1 goto CLEANUP echo. echo Link error. echo. set MV_PAUSE=Y goto END :CLEANUP rem Delete temporary files if %MV_ERRFILE%==N if exist %MV_SRC%.err del %MV_SRC%.err if exist %MV_SRC%.tds del %MV_SRC%.tds if %MV_DODEL%==N goto EXESTART if exist _temp.rsp del _temp.rsp if exist _templib.rsp del _templib.rsp if exist _tempobj.rsp del _tempobj.rsp if exist _tempres.rsp del _tempres.rsp if %MV_DOCONLY%==Y goto EXESTART if %MV_DOLINK%==Y if %MV_DOLONLY%==N if %MV_DOCCOMP%==Y if exist %MV_SRC%.c del %MV_SRC%.c if %MV_DOLINK%==Y if %MV_DOLONLY%==N if %MV_DORONLY%==N if exist %MV_SRC%.res del %MV_SRC%.res if %MV_DOLINK%==Y if %MV_DOLONLY%==N if exist %MV_SRC%.obj del %MV_SRC%.obj :EXESTART rem Start EXE if %MV_DOCONLY%==Y goto END if %MV_DOCCOMP%==N goto END if %MV_DORONLY%==Y goto END if %MV_DOLINK%==N goto END if %MV_DOEXE%==N goto END if %MV_DODONLY%==Y goto END if exist %MV_SRC%.bat %MV_EXECMD% %MV_SRC%.bat %MV_ARG% if not exist %MV_SRC%.bat if exist %MV_SRC%.exe %MV_EXECMD% %MV_SRC%.exe %MV_ARG% :END rem Delete local variables if %MV_PAUSE%==Y pause set MV_USEXHRB= set MV_INTMODE= set MV_DEBUG= set MV_MTHREAD= set MV_USETASM= set MV_ERRFILE= set MV_PAUSE= set MV_DOCCOMP= set MV_DOCONLY= set MV_DOCMAIN= set MV_DORONLY= set MV_DOLINK= set MV_DOLONLY= set MV_DOEXE= set MV_DODEL= set MV_DODONLY= set MV_EXECMD= set MV_SWITCH= set MV_CSWITCH= set MV_ARG= set MV_HRB= set MV_LIB= set MV_SRC=
-
Here the output:
Coderoot@openmediavault:~# apt-cache policy transmission-cli transmission-cli: Installed: (none) Candidate: 2.03-2 Version table: 2.75-1-15~1.gbp4ed609 0 500 http://packages.omv-extras.org/debian/ sardaukar/main amd64 Packages 2.03-2 0 990 http://ftp.it.debian.org/debian/ squeeze/main amd64 Packages
Thanks for looking into it. -
Zitat von "ryecoaaron"
It seems that it is cross platform. Why run it under wine then?
I have developed software for almost 25 years, but only in Dos/Windows
With that compiler (but is more correct to call it "pre-compiler") I have to pre-compile my source then I use the old Borland 5.5 C++ compiler to convert to the final .exe file.
In linux I have no idea how to compile my programs...