Giter Site home page Giter Site logo

Xcode project to build lisp kernel about ccl HOT 2 OPEN

clozure avatar clozure commented on August 19, 2024
Xcode project to build lisp kernel

from ccl.

Comments (2)

xrme avatar xrme commented on August 19, 2024

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.

eschaton avatar eschaton commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.