Welcome, Guest. Please login or register.

Author Topic: GCC asm() warning suppression options?  (Read 19992 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: GCC asm() warning suppression options?
« on: June 30, 2009, 02:24:28 PM »
Quote from: Trev;513877
EDIT: Oh, I guess we have 'make -j n', but it's not very robust.
Code: [Select]
if [ -a /proc/cpuinfo ]; then
    export CONCURRENCY_LEVEL=$(($(grep -c processor /proc/cpuinfo) * 2 + 1))
    export MAKEOPTS="-j${CONCURRENCY_LEVEL}"
fi
Why wouldn't it be robust?
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: GCC asm() warning suppression options?
« Reply #1 on: June 30, 2009, 02:32:31 PM »
Quote from: Trev;513912
The main differences from a tool chain perspective, though, should be in the hunks supported. Everything else could be handled as it is today, and newlib, crt0.s, and amiga.lib could be written to run optimally on arbitrary releases. Having that magic at compile time, though, would result in much tighter binaries.

Well, some 32bit relocs could be made 16bit, that doesn't account for much in most binaries.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: GCC asm() warning suppression options?
« Reply #2 on: June 30, 2009, 02:59:24 PM »
Quote from: Karlos;513961
Perhaps the Makefiles are subtly flawed? There could be bits that have to be compiled before others that may not be guaranteed with concurrent jobs?

Just guessing here.

Well that's not it. The concurrent jobs are only used for things that can be concurrent. Obviously make cannot change the order of commands being executed, that'd never work.