Giter Club home page Giter Club logo

gccpl1's People

Contributors

hsorensen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gcc-tiny

gccpl1's Issues

lang-specs.h has no effect

it seems @rofirrim is not actively updating this project, so I would put my problem here.

basically I have builded out the dummy tiny compiler, but it seems can't detect the *.tiny file:

./gcc-install/bin/gcctiny -c test.tiny

gives error:

gcc: warning: test.tiny: linker input file unused because linking not done

the entire output with -v is:

❯ ./gcc-install/bin/gcctiny test.tiny -v -c
Using built-in specs.
COLLECT_GCC=./gcc-install/bin/gcctiny
Target: aarch64-apple-darwin22.3.0
Configured with: ../gcc-darwin-arm64/configure --prefix=/Users/tq/gcc-build-tiny/../gcc-install --enable-languages=c,c++,tiny --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.0 20230628 (experimental) (GCC)
COMPILER_PATH=/Users/tq/gcc-install/bin/../libexec/gcc/aarch64-apple-darwin22.3.0/14.0.0/:/Users/tq/gcc-install/bin/../libexec/gcc/
LIBRARY_PATH=/Users/tq/gcc-install/bin/../lib/gcc/aarch64-apple-darwin22.3.0/14.0.0/:/Users/tq/gcc-install/bin/../lib/gcc/:/Users/tq/gcc-install/bin/../lib/gcc/aarch64-apple-darwin22.3.0/14.0.0/../../../
COLLECT_GCC_OPTIONS='-v' '-c' '-mmacosx-version-min=13.0.0' '-asm_macosx_version_min=13.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64'
gcctiny: warning: test.tiny: linker input file unused because linking not done

I have strictly checked my lang-specs.h, and even tried to copy go's file and change them, but still not working, my file is:

/* gcc-src/gcc/config/lang-specs.in */
/*{".tiny",  "@tiny", 0, 1, 0},
{"@tiny",  "tiny1 %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}", 0, 1, 0},*/


{".tiny",  "@tiny", 0, 1, 0},
{"@tiny",  "tiny1 %i %(cc1_options) %{I*} %{L*} %D %{!fsyntax-only:%(invoke_as)}",
0, 1, 0},

@zeim839, @HSorensen do you guys meet this problem?

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.