Tiny Core Base > piCore Test Releases

piCore-12.0alpha1

<< < (6/9) > >>

aus9:
WOOHOO thankyou very much for wget and zsync.

aus9:

--- Quote from: Juanito on August 23, 2020, 01:17:19 AM ---piCore64:
--- Code: ---CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti"
--- End code ---

--- End quote ---

I made mistake again....but this might help me. I set the flags with

--- Code: ---export CFLAGS="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe"
export CXXFLAGS="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti"
SNIP
./configure --prefix=/usr/local --with-doc=no
checking for gcc... gcc
checking whether the C compiler works... no
--- End code ---

I closed the terminal to do something and when I returned, I forgot to set the flags and got past that error, but not prepared to proceed any further until hopefully I get some advice.
In repeating above configure line I got

--- Code: ---Prefix  : /usr/local
Compiler   : gcc -g -O2
--- End code ---

and that looks like it might succeed. Any chance you could supply the next best flag set to try if .....as yes I do not know if this is right....if the issue was purely flag related.

thanks for reading in any case ....packages gr* and na* relate

Juanito:
Quite a few source packages were created with autotools before aarch64 was common - if you overwrite config.guess and config.sub in the source with those from the libtool extension, it will usually fix things.

Paul_123:
Here is the official way to get the latest and greatest config.guess and config.sub

https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html


Also, from your above example.  this is not correct.

--- Code: ---export CFLAGS="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe"
export CXXFLAGS="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti"

--- End code ---

CFLAGS should not include the compiler reference

--- Code: ---export CFLAGS="-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe"
export CXXFLAGS="-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti"

--- End code ---

There are of course a million ways to do things, it all depends on how the makefile was built.


aus9:
thats great. I have a few things to try now.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version