This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

RE: Has anyone done a canadian cross [linux-msdospc-vxworks]?


>-----Original Message-----
>From: Plucknett, Jim [mailto:plucknet@SSD.FSI.com]
>Sent: 30 April 2001 18:53


>Has anyone done a canadian cross:
>
>build=linux or sun4
>host= msdospc
>target=m68k-wrx-vxworks

  yep

  I dun that - ish.  I was building on solaris for a cygwin hosted
ppc-wrs-vxworks target.

>I'm attempting one today w/ djgpp.
>comments/suggestions needed.

  I'd recommend you seriously consider using cygwin instead.  DJGPP will
have 8.3 problems, won't it?  Plenty of the vxworks headers have > 8.3
names.  Plus cygwin gives you all the shell stuff that supports makefiles.
I know cygwin takes a while to d'l and install but you only have to do
that once, and the executables only need to be distributed with the cygwin
dll to work.

  Other suggestions: do all the binutils first off, because they're 
always the easiest and don't seem to cause anyone any problems.

  Do it manually rather than using one of the prepackaged scripts you'll
see lying around the web.  Some of them are badly out of date.

  Use default --prefix settings all round unless there is some very
pressing need to do otherwise.

  A good set of options for the cross compiler would include
--with-headers=/path/to/Tornado/target/h --with-gnu-as --with-gnu-ld 
Don't use any of the options relating to threads or static/shared libraries

  There's a really good post somewhere in the crossgcc archives that
explains a few of the problems that will crop up during the build.  I'll
try and track down the reference.  In the meantime keep us posted how you
get on.

     DaveK
-- 
 All your base are belong to the Israeli army!  Oh, now they aren't again!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
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]