GithubHelp home page GithubHelp logo

amigalabs / adtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sba1/adtools

0.0 0.0 1.0 2.08 MB

Experimental GNU toolchain for AmigaOS

Shell 7.37% C++ 4.85% Python 6.27% C 13.30% Makefile 55.05% Dockerfile 13.16%

adtools's People

Contributors

3246251196 avatar av00 avatar chris-y avatar josefwegner avatar ksdhans avatar lephilousophe avatar olasoder-work avatar salass00 avatar sba1 avatar sodero avatar zeldin avatar

Forkers

walkero-gr

adtools's Issues

SPEC file tidy part0 - LINK SPEC (at least for clib4)

When linking with clib2 or clib4

lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib

Is one of the paths to search for libraries. This is not correct. Only

lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/clib[24]

should be used. The former are strictly newlib's libraries.

It would be very unlikely that this would cause an issue since the later directory is searched before the former, but it should be tidied up.

===

I should also mention that it seems that has been the case very a long time!

===

This ticket will satisfy: #2.

SPEC FILE

Just where on earth are the following directories being added to library search:

 -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0/clib4 -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/clib4 -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0 -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib --verbose

This is either part of START_FILE_CLIB4 or it is added by something.

Everything makes sense except for that set of options. Here is the linking step for the test:

 /home/rjd/projects/adtools_rjd/native-build/root-cross/libexec/gcc/ppc-amigaos/11.3.0/collect2 -plugin /home/rjd/projects/adtools_rjd/native-build/root-cross/libexec/gcc/ppc-amigaos/11.3.0/liblto_plugin.so -plugin-opt=/home/rjd/projects/adtools_rjd/native-build/root-cross/libexec/gcc/ppc-amigaos/11.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyAzdjC.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh --defsym __amigaos4__=1 -Bstatic -q -d -V -Qy -L/home/rjd/projects/adtools_rjd/native-build/root-cross/ppc-amigaos/SDK/clib4/lib -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0/clib4/lib -L/home/rjd/projects/adtools_rjd/native-build/root-cross/ppc-amigaos/SDK/local/clib4/lib -L/home/rjd/projects/adtools_rjd/native-build/root-cross/ppc-amigaos/SDK/local/common/lib -o main /home/rjd/projects/adtools_rjd/native-build/root-cross/ppc-amigaos/SDK/clib4/lib/crtbegin.o /home/rjd/projects/adtools_rjd/native-build/root-cross/ppc-amigaos/SDK/clib4/lib/crt0.o -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0/clib4 -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib/clib4 -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0 -L/home/rjd/projects/adtools_rjd/native-build/root-cross/lib/gcc/ppc-amigaos/11.3.0/../../../../ppc-amigaos/lib --verbose /tmp/ccdGNCdG.o -lgcc -lgcc_eh --start-group -lc --end-group -lgcc -lgcc_eh /home/rjd/projects/adtools_rjd/native-build/root-cross/ppc-amigaos/SDK/clib4/lib/crtend.o

START_FILE [the -L options that seemingly come from nowhere along with --verbose] [the object being linked with] END_FILE etc.

I need to find out where these are coming from, and they do not seem to be in the SPEC amigaos.h file either. For example, in the file "--verbose" cannot even be found.

This needs blocks #3.

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.