Viktor, no, not enough environment space :(
gcc -I. -I../../../../../include -Wall -W -O3 -otbrwtext.o -c tbrwtext.c E:/repository/harbour/bin/os2/gcc/harbour.exe ../../../dbgwa.prg -n1 -i../../.. /../../include -q0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 gcc -I. -I../../../../../include -Wall -W -O3 -odbgwa.o -c dbgwa.c E:/repository/harbour/bin/os2/gcc/harbour.exe ../../../dbgbrwsr.prg -n1 -i../.. /../../../include -q0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 gcc -I. -I../../../../../include -Wall -W -O3 -odbgbrwsr.o -c dbgbrwsr.c for %i in ( *.o ) do @echo ADDMOD %i >> __lib__.tmp ar -M < __lib__.tmp & ..\..\..\..\..\config\os2-rm -f __lib__.tmp ! HB_BIN_COMPILE not specified. Automatically set to: E:/repository/harbour/bin/ os2/gcc make[3]: spawnvpe: environment space might be exhausted make[3]: execvp: D:\OS2\CMD.EXE: Invalid argument make[3]: spawn: Invalid argument make[2]: *** [descend] Error 2 make[1]: *** [dynlib] Error 2 make: *** [source] Error 2 Maurilio. Viktor Szakáts wrote: >> Viktor, >> >> can't you use a *.o instead of listing every single module needed? > > Could be, but this would need changing upstream logic. > This could be good if other linkers would also support > such parameter but it's not very usual. Also this > feature may also depend on the shell type used and we > want to be independent from it. > > Let's first try with methods used on other gcc platforms. > > I'll first commit the mingw method. If this doesn't work, > we can try the Linux one. > > Brgds, > Viktor > > >> >> Maurilio. >> >> >> Viktor Szakáts wrote: >>> Hi Maurilio, >>> >>> Yes, I didn't implement os2/gcc dll support yet. >>> >>> (I fear of all the os2 shell problems here, we have >>> to create a quite large >32KB filelist here and pass >>> it to gcc. I'll make an attempt though) >>> >>> Anyhow this case should be handled more gracefully. >>> >>> Brgds, >>> Viktor >>> >>> On 2009.08.22., at 9:53, Maurilio Longo wrote: >>> >>>> Viktor, >>>> >>>> it dies here >>>> >>>> E:/harbour/bin/harbour.exe ../../../debugger.prg -n1 >>>> -i../../../../../include - >>>> q0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 >>>> gcc -I. -I../../../../../include -Wall -W -O3 -odebugger.o -c >>>> debugger.c >>>> E:/harbour/bin/harbour.exe ../../../dbgtarr.prg -n1 >>>> -i../../../../../include -q >>>> 0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 >>>> gcc -I. -I../../../../../include -Wall -W -O3 -odbgtarr.o -c >>>> dbgtarr.c >>>> E:/harbour/bin/harbour.exe ../../../dbgthsh.prg -n1 >>>> -i../../../../../include -q >>>> 0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 >>>> gcc -I. -I../../../../../include -Wall -W -O3 -odbgthsh.o -c >>>> dbgthsh.c >>>> E:/harbour/bin/harbour.exe ../../../dbgtobj.prg -n1 >>>> -i../../../../../include -q >>>> 0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 >>>> gcc -I. -I../../../../../include -Wall -W -O3 -odbgtobj.o -c >>>> dbgtobj.c >>>> E:/harbour/bin/harbour.exe ../../../tbrwtext.prg -n1 >>>> -i../../../../../include - >>>> q0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 >>>> gcc -I. -I../../../../../include -Wall -W -O3 -otbrwtext.o -c >>>> tbrwtext.c >>>> E:/harbour/bin/harbour.exe ../../../dbgwa.prg -n1 >>>> -i../../../../../include -q0 >>>> -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 >>>> gcc -I. -I../../../../../include -Wall -W -O3 -odbgwa.o -c dbgwa.c >>>> E:/harbour/bin/harbour.exe ../../../dbgbrwsr.prg -n1 >>>> -i../../../../../include - >>>> q0 -w3 -es2 -kmo -l -undef:__PLATFORM__OS2 -D__PLATFORM__OS2 >>>> gcc -I. -I../../../../../include -Wall -W -O3 -odbgbrwsr.o -c >>>> dbgbrwsr.c >>>> for %i in ( *.o ) do @echo ADDMOD %i >> __lib__.tmp >>>> ar -M < __lib__.tmp & ..\..\..\..\..\config\os2-rm -f __lib__.tmp >>>> make[3]: *** No rule to make target `harbour-20-os2.dll'. Stop. >>>> make[2]: *** [descend] Error 2 >>>> make[1]: *** [dynlib] Error 2 >>>> make: *** [source] Error 2 >>>> >>>> Can it be that OS/2 GCC is not ready yet? >>>> >>>> >>>> Best regards. >>>> >>>> Maurilio. >>>> >>>> >>>> >>>> [email protected] wrote: >>>>> Revision: 12244 >>>>> >>>>> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12244&view=rev >>>>> >>>>> >>>>> Author: vszakats >>>>> Date: 2009-08-21 19:00:06 +0000 (Fri, 21 Aug 2009) >>>>> >>>>> Log Message: >>>>> ----------- >>>>> 2009-08-21 21:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) >>>>> * source/vm/maindllh.c >>>>> * source/vm/Makefile >>>>> + Added support for os2 .dll. Please review. >>>>> >>>>> * config/os2/watcom.mk >>>>> + Added os2 .dll generation for watcom. >>>>> Now it generates OK. >>>>> >>>>> * source/Makefile >>>>> * config/lib.mk >>>>> + Added support for os2 and some level of *nix support. >>>>> >>>>> * INSTALL >>>>> * Minor update to a few option description. >>>>> >>>>> * utils/hbmk2/hbmk2.prg >>>>> + Added preliminary/experimental/untested OS/2 -shared (.dll) >>>>> support for watcom targets. >>>>> >>>>> Modified Paths: >>>>> -------------- >>>>> trunk/harbour/ChangeLog >>>>> trunk/harbour/INSTALL >>>>> trunk/harbour/config/lib.mk >>>>> trunk/harbour/config/os2/watcom.mk >>>>> trunk/harbour/source/Makefile >>>>> trunk/harbour/source/vm/Makefile >>>>> trunk/harbour/source/vm/maindllh.c >>>>> trunk/harbour/utils/hbmk2/hbmk2.prg >>>>> >>>>> >>>>> This was sent by the SourceForge.net collaborative development >>>>> platform, the world's largest Open Source development site. >>>>> _______________________________________________ >>>>> Harbour mailing list >>>>> [email protected] >>>>> http://lists.harbour-project.org/mailman/listinfo/harbour >>>>> >>>> >>>> -- >>>> __________ >>>> | | | |__| Maurilio Longo >>>> |_|_|_|____| farmaconsult s.r.l. >>>> >>>> >>>> _______________________________________________ >>>> Harbour mailing list >>>> [email protected] >>>> http://lists.harbour-project.org/mailman/listinfo/harbour >>> >>> _______________________________________________ >>> Harbour mailing list >>> [email protected] >>> http://lists.harbour-project.org/mailman/listinfo/harbour >>> >> >> -- >> __________ >> | | | |__| Maurilio Longo >> |_|_|_|____| farmaconsult s.r.l. >> >> >> _______________________________________________ >> Harbour mailing list >> [email protected] >> http://lists.harbour-project.org/mailman/listinfo/harbour > > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
