Giter VIP home page Giter VIP logo

libraries's People

Contributors

codebje avatar megatokio avatar mxlgv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libraries's Issues

Issue with Build on Raspberry Pi

I have just cloned for Pi and kicked off make to get the following:

pi@raspberrypi:~/zasm/zasm $ make
mkdir -p tmp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/cstrings.o Libraries/cstrings/cstrings.cpp
In file included from Libraries/kio/kio.h:346:0,
from Libraries/cstrings/cstrings.cpp:19:
Libraries/cstrings/cstrings.h: In function ‘char* hexstr(long long int, uint)’:
Libraries/cstrings/cstrings.h:144:13: error: redefinition of ‘char* hexstr(long long int, uint)’
inline str hexstr (long long n, uint len) noexcept { return hexstr(uint64(n),len); }
^
Libraries/cstrings/cstrings.h:142:13: note: ‘char* hexstr(int64, uint)’ previously defined here
inline str hexstr (int64 n, uint len) noexcept { return hexstr(uint64(n),len); }
^
Libraries/cstrings/cstrings.cpp: In function ‘char* hexstr(uint64, uint)’:
Libraries/cstrings/cstrings.cpp:283:5: error: redefinition of ‘char* hexstr(uint64, uint)’
str hexstr (uint64 n, uint digits) noexcept
^
In file included from Libraries/kio/kio.h:346:0,
from Libraries/cstrings/cstrings.cpp:19:
Libraries/cstrings/cstrings.h:145:13: note: ‘char* hexstr(long long unsigned int, uint)’ previously defined here
inline str hexstr (unsigned long long n, uint len) noexcept { return hexstr(uint64(n),len); }
^
Makefile:68: recipe for target 'tmp/cstrings.o' failed
make: *** [tmp/cstrings.o] Error 1

Anything else I need to set up for pi?

Won't compile on aarm64v8

In file included from Libraries/kio/auto_config.h:34,
from Libraries/kio/kio.h:55,
from Libraries/cstrings/cstrings.cpp:19:
Libraries/kio/detect_configuration.h:300:4: error: #error "can't detect processor"
#error "can't detect processor"
^~~~~
In file included from Libraries/kio/auto_config.h:34,
from Libraries/kio/kio.h:55,
from Libraries/cstrings/cstrings.cpp:19:
Libraries/kio/detect_configuration.h:386:33: error: ‘_sizeof_char’ was not declared in this scope
static_assert(sizeof(char) == _sizeof_char, "Size is not correct");
^~~~~~~~~~~~
Libraries/kio/detect_configuration.h:387:33: error: ‘_sizeof_short’ was not declared in this scope
static_assert(sizeof(short) == _sizeof_short, "Size is not correct");

"Var" and "VString" symbolic links are broken

When cloning Libraries:

  • Var points to the missing directory "../Projects/vipsi/Source/Var/"
  • VString points to the missing directory "../Projects/vipsi/Source/VString/"

I don't know yet if this is relevant to the project compilation but I'll give it a shot soon.

`long double` is different size on Mac ARM64 than regular ARM64

For some reason (maybe easy compatibility with x86?) the long double type on a new MacBook Pro M2 is 8 and not 16.

I'm building from the root of the zasm repository, with Libraries checked out as a submodule.

% make
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/cstrings.o Libraries/cstrings/cstrings.cpp
In file included from Libraries/cstrings/cstrings.cpp:5:
In file included from Libraries/cstrings/cstrings.h:6:
In file included from Libraries/kio/kio.h:44:
In file included from Libraries/kio/auto_config.h:21:
Libraries/kio/detect_configuration.h:426:1: error: static_assert failed due to requirement 'sizeof(long double) == 16' "Size is not correct"
static_assert(sizeof(long double) == _sizeof_long_double, "Size is not correct");
^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [tmp/cstrings.o] Error 1

Apple mentions it in their own porting guide: https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Handle-data-types-and-data-alignment-properly

Thank you for the great assembler! I have used it for a bunch of projects and look forward to using it for many more.

problem building on OpenBSD

Hi kio,

Thanks so much for your great program zasm! I've used it and compiled
it on Linux and really think it's an awesome program. I tried to
compile zasm on OpenBSD using both clang and gcc and ran into some
errors, I've attached the logs for reference. I'd love to be able to
help port zasm, but my unix programming is still a bit weak. Please
let me know if I can help.

-Asad

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.