Search Results

Search: Posts Made By: madpenguin
1,386
Posted By madpenguin
Not the prettiest of things but works.... ...
Not the prettiest of things but works....


echo "main(){}" > test.c
gcc -v -march=native -o test test.c 2>cpu
ARCH=$(cat cpu | grep -o "march=.*" | sed -e 's/ .*//' -e 's/march=//')
echo $ARCH
1,386
Posted By madpenguin
autoresolving 'native' in build script
Greets. I have a build system that comprises of one parent script and about 150 children to build Gnome. I have a file that is sourced at the top of every script to gather variables needed for the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy