Jens Staal
2014-11-19 06:07:46 UTC
Hi
For fun and for learning, I have tried porting busybox-w32 to build with
Open Watcom (using the MinGW port a lot).
https://github.com/staalmannen/busybox-w32/tree/watcom
If anyone is interested in trying/playing, it still depends on a Linux host,
GCC as HOSTCC and GNU make... those things might be adressed later. Right
now owcc is basically just used as an alternative to mingw as cross-
compiler.
There are probably lots of hacks that smarter and more experienced people
could make nicer / eliminate.
The current status is that everything build, but when I link I get the
following:
Open Watcom Linker Version 2.0 beta Oct 29 2014 15:12:20 (32-bit)
Copyright (c) 2002-2014 The Open Watcom Contributors. All Rights Reserved.
Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
loading object files
searching libraries
Warning! W1023: no starting address found, using 00401000
creating a Windows NT character-mode executable
Error! E3009: dynamic memory exhausted
I suppose this means that the watcom equivalent of crt0 is not present in
the linking. Is there a way that I can "force" this? I looked at the startup
examples in the Watcom src directory but did not get any wiser... I suppose
there should be such an object in libc?
For fun and for learning, I have tried porting busybox-w32 to build with
Open Watcom (using the MinGW port a lot).
https://github.com/staalmannen/busybox-w32/tree/watcom
If anyone is interested in trying/playing, it still depends on a Linux host,
GCC as HOSTCC and GNU make... those things might be adressed later. Right
now owcc is basically just used as an alternative to mingw as cross-
compiler.
There are probably lots of hacks that smarter and more experienced people
could make nicer / eliminate.
The current status is that everything build, but when I link I get the
following:
Open Watcom Linker Version 2.0 beta Oct 29 2014 15:12:20 (32-bit)
Copyright (c) 2002-2014 The Open Watcom Contributors. All Rights Reserved.
Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
loading object files
searching libraries
Warning! W1023: no starting address found, using 00401000
creating a Windows NT character-mode executable
Error! E3009: dynamic memory exhausted
I suppose this means that the watcom equivalent of crt0 is not present in
the linking. Is there a way that I can "force" this? I looked at the startup
examples in the Watcom src directory but did not get any wiser... I suppose
there should be such an object in libc?