This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to flatten the build directory structure


Sorry for the crosspost, but this kinda relates to both lists...

I'm in the process of building Canadian crosses (gcc-2.95, binutils-2.9.1)
under cygwin, to be hosted under djgpp, mingw32, and linux (glibc5).  When
I'm ready to distribute these tools, I would like to "flatten" the
directory structure so that all includes and libraries are in a single
"root" directory: 

I would like to turn:
/psxlib-0.1
|
--bin
|
--target
  |
  --bin
  |
  --include
  |
  --lib
|
--lib
  |
  --gcc-lib

into:
/psxlib-0.1
|
--bin
|
--lib
|
--include

This appears to be something that has to be ironed out before the build
process, but I could be wrong.  The ideas is to eliminate "target/", but
doesn't gcc spawn executables there?  And the linker finds linker scripts
under "target/lib/ldscripts"...

Has anyone ever done this _without_ setting GCC_EXEC_PREFIX, C_INCLUDE,
etc.  Could it be done by modifying specs?

Marcus


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]