Comments (2)
I have spent some time messing around with this a couple of times now.
I keep getting stuck on figuring out how to make the Xcode equivalent of the following makefile rule:
.s.o:
$(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
I assume that I want to make a custom build rule for this, but to date I've had a hard time figuring out how to do that.
Another variant might be to rename the .s
files to .sm4
files, and add some build rule to process the .sm4
files with m4 and produce .s
files for Xcode to compile. I haven't been able to figure out how to make that work, either.
from ccl.
Renaming the .s
files to .sm4
and using a rule to transform them would probably be best all around; Xcode and other environments will generally assume a .s
file is directly usable assembly, not something to be run through a custom preprocessor.
An Xcode build rule that matches *.sm4
and generates $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).s
should be straightforward; the output should automatically be assembled, given that Xcode knows what to do with a .s
file.
from ccl.
Related Issues (20)
- seemingly silly strength reduction miss HOT 1
- Document cross-compilation process
- stack overflow when wild pathname on asdf:*central-registry* HOT 1
- GENTEMP isn't thread safe
- When build 3d-math package, get an error: CCL::COMPLIER-FUNCTION-OVERFLOW HOT 2
- Non-terminating character macro for #\- breaks #: reader. HOT 2
- remove obsolete %temp-cons
- long form define-method-combination problem HOT 4
- Compiler bug involving tag collision and labels function inlining HOT 1
- `ccl:macroexpand-all` stops at `locally`
- Format ~E causes an error HOT 3
- %apply-in-frame has bitrotted HOT 1
- defstruct slot initforms don't capture lexical environment HOT 1
- Name of the ccl executable
- static-cons memory read error using saved acl2 image on FreeBSD 13+ HOT 5
- Debian packaging HOT 1
- Invalid memory operations in the IDE
- TCP sockets stop working after a few writes, "Bad file descriptor (error #9) during write" HOT 18
- Socket reading seems to be really slow (or backed up) HOT 6
- socket-address-family never returns :internet6 HOT 1
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 ccl.