mailing list of musl libc
 help / color / mirror / code / Atom feed
* Wrapper scripts and Open64
@ 2012-05-03 20:20 Isaac Dunham
  2012-05-03 23:58 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Isaac Dunham @ 2012-05-03 20:20 UTC (permalink / raw)
  To: musl

I was curious, and started playing with Open64...
Open64 is at least as troublesome as gcc, but it doesn't work with specfiles.
So if I use kopencc (the GCC-style wrapper that Open64 uses) instead of gcc, the specfile version doesn't work...but the version from commit 02eb568 does work.
Open64 doesn't have stack-protector AFAIK.

Open64 does require C++ to compile...as do most C++ compilers that 
I've tried.
So how exactly do you bootstrap a C++ environment under musl?

-- 
Isaac Dunham <idunham@lavabit.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Wrapper scripts and Open64
  2012-05-03 20:20 Wrapper scripts and Open64 Isaac Dunham
@ 2012-05-03 23:58 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2012-05-03 23:58 UTC (permalink / raw)
  To: musl

On Thu, May 03, 2012 at 01:20:48PM -0700, Isaac Dunham wrote:
> I was curious, and started playing with Open64...
> Open64 is at least as troublesome as gcc, but it doesn't work with
> specfiles.
> So if I use kopencc (the GCC-style wrapper that Open64 uses) instead
> of gcc, the specfile version doesn't work...but the version from
> commit 02eb568 does work.

I'm surprised it works, since it was partly specfile based too. Are
you sure everything at the linking stage was working (including
inhibiting search of non-musl paths), and not just the compiler?

> Open64 doesn't have stack-protector AFAIK.

That shouldn't be a problem.

> Open64 does require C++ to compile...as do most C++ compilers that 
> I've tried.
> So how exactly do you bootstrap a C++ environment under musl?

Building gcc 4.6.2 with C++ support and libstdc++ should work fine as
long as you replace libstdc++/config/os/gnu-linux with generic to
eliminate the poking at glibc locale internals. Once you have it
working you should (in theory) be able to build other compilers
written in C++...

Rich


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-03 23:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-03 20:20 Wrapper scripts and Open64 Isaac Dunham
2012-05-03 23:58 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).