Comments (4)
I tried a couple of things
1/ Switched to Freecom and FDPP, same issue
2/ Switched to Freecom and FreeDOS 1.20 seems better for case without loadfix, but with loadfix the problem remains
C:\mytest>gmake clean
del *.obj
one file removed.
C:\mytest>rem just compiler
C:\mytest>gmake test1
cl /c import.c
Microsoft (R) C Optimizing Compiler Version 5.10
Copyright (c) Microsoft Corp 1984, 1985, 1986, 1987, 1988. All rights reserved.
import.c
C:\mytest>rem compiler with loadfix
C:\mytest>gmake test2
loadfix cl /c import.c
gmake.exe: *** [Makefile:7: test2] Error -1
C:\mytest>rem just echo
C:\mytest>gmake test3
echo hello import.c > import.obj
C:\mytest>rem loadfixed compiler without gmake
C:\mytest>loadfix cl /c import.c
Microsoft (R) C Optimizing Compiler Version 5.10
Copyright (c) Microsoft Corp 1984, 1985, 1986, 1987, 1988. All rights reserved.
import.c
from comcom64.
The bugs are all in your test case.
First, you screw up PATH variable,
excluding the path to command.com
from it. If you didn't, you could write
in a makefile:
command /c loadfix cl /c $<
because loadfix is not an external cmd.
Note that gmake adds an additional
confusion here. It seems to have the
table of command.com commands,
which it would exec via command.com
(like echo), but loadfix/loadhigh are
not among those, otherwise things
would work for you as-is.
from comcom64.
Ah, okay, thanks! It's the first time I used gmake in DOS, I assumed each line was run in a shell and that COMSPEC would locate that.
from comcom64.
I assumed each line was run in a shell and that COMSPEC would locate that.
As I said, gmake seems to be doing that
for the commands that it knows to come
from a shell. You can find the list of such
commands in a gmake binary, but
loadfix/loadhigh are not there.
from comcom64.
Related Issues (20)
- can't convert deb arch to noarch HOT 2
- implement ctty
- DIR (using int21/7303) non longer reports correct space HOT 6
- Suggestion: Make a PPA for Debian HOT 19
- DIR with non existent drive returns spurious result HOT 2
- disable CI for entire branch HOT 2
- CD changes drive
- SET accepts any switch letter as meaning /P switch HOT 1
- pipes do not handle prog args
- suppress Runtime error 200 HOT 5
- setting date and time
- saveable history buffer
- Unable to manually set time or date with comcom32 HOT 2
- COMCOM32 wildcard not working
- Continue on error? HOT 1
- Odd trailing character on version string HOT 20
- implement toclip-alike winoldap support HOT 1
- command completion should account for BAT EXE COM files
- `README.md`'s links to build tools does not work. Where to find `dj64-gcc`? HOT 5
- LFN: too many dirs open HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comcom64.